Customer Order

This commit is contained in:
aditya.siregar
2024-08-04 01:16:25 +07:00
parent 265dd9b6e8
commit bdf930445c
30 changed files with 832 additions and 43 deletions
+2
View File
@@ -85,6 +85,7 @@ func (UserDB) TableName() string {
func (u *UserDB) ToUserAuthenticate(signedToken string, license PartnerLicense) *AuthenticateUser {
return &AuthenticateUser{
ID: u.ID,
Token: signedToken,
Name: u.Name,
RoleID: role.Role(u.RoleID),
@@ -96,6 +97,7 @@ func (u *UserDB) ToUserAuthenticate(signedToken string, license PartnerLicense)
SiteName: u.SiteName,
ResetPassword: u.ResetPassword,
PartnerLicense: license,
UserType: u.UserType,
}
}