hdong:change affiliate code name.
This commit is contained in:
parent
a336cc9dc5
commit
8056369dee
|
|
@ -23,7 +23,7 @@ public class User
|
|||
public bool Verified { get; set; }
|
||||
public string RegionCode { get; set; } = "CN";
|
||||
public string? AffiliateId { get; set; }
|
||||
public string? AffiliateCode { get; set; }
|
||||
public string? ReferralCode { get; set; }
|
||||
public string? EmployeeId { get; set; }
|
||||
public bool IsDisabled { get; set; }
|
||||
public IEnumerable<string> Permissions { get; set; } = [];
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ public class UserCreationModel
|
|||
public string Type { get; set; } = UserType.Client;
|
||||
public string Role { get; set; } = UserRole.User;
|
||||
public string RegionCode { get; set; } = "CN";
|
||||
public string? AffiliateCode { get; set; }
|
||||
public string? ReferralCode { get; set; }
|
||||
public User ToUser()
|
||||
{
|
||||
return new User
|
||||
|
|
@ -27,7 +27,7 @@ public class UserCreationModel
|
|||
Role = Role,
|
||||
Type = Type,
|
||||
RegionCode = RegionCode,
|
||||
AffiliateCode = AffiliateCode
|
||||
ReferralCode = ReferralCode
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue