Add User Partner and Product

This commit is contained in:
aditya.siregar
2024-06-03 14:40:50 +07:00
parent 67f1dbc850
commit 8a23e72230
46 changed files with 1366 additions and 213 deletions
+4 -2
View File
@@ -4,6 +4,8 @@ type Role int64
const (
SuperAdmin Role = 1
BranchAdmin Role = 2
CasheerAdmin Role = 3
Admin Role = 2
PartnerAdmin Role = 3
SiteAdmin Role = 4
Casheer Role = 5
)
+2 -2
View File
@@ -3,8 +3,8 @@ package studio
type StudioStatus string
const (
Active StudioStatus = "Active"
Inactive StudioStatus = "Inactive"
Active StudioStatus = "active"
Inactive StudioStatus = "inactive"
)
func (b StudioStatus) toString() string {