File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
BotSharp.Abstraction/Users/Models
BotSharp.OpenAPI/ViewModels/Users Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public class User
2323 public bool Verified { get ; set ; }
2424 public string RegionCode { get ; set ; } = "CN" ;
2525 public string ? AffiliateId { get ; set ; }
26- public string ? AffiliateCode { get ; set ; }
26+ public string ? ReferralCode { get ; set ; }
2727 public string ? EmployeeId { get ; set ; }
2828 public bool IsDisabled { get ; set ; }
2929 public IEnumerable < string > Permissions { get ; set ; } = [ ] ;
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public class UserCreationModel
1313 public string Type { get ; set ; } = UserType . Client ;
1414 public string Role { get ; set ; } = UserRole . User ;
1515 public string RegionCode { get ; set ; } = "CN" ;
16- public string ? AffiliateCode { get ; set ; }
16+ public string ? ReferralCode { get ; set ; }
1717 public User ToUser ( )
1818 {
1919 return new User
@@ -27,7 +27,7 @@ public User ToUser()
2727 Role = Role ,
2828 Type = Type ,
2929 RegionCode = RegionCode ,
30- AffiliateCode = AffiliateCode
30+ ReferralCode = ReferralCode
3131 } ;
3232 }
3333}
You can’t perform that action at this time.
0 commit comments