fix: Set default values

This commit is contained in:
AnonymousDotNet 2024-10-23 16:14:25 +08:00
parent 83cf6ae912
commit 33945d41ee

View file

@ -21,7 +21,7 @@ public class User
public string Role { get; set; } = UserRole.User;
public string? VerificationCode { get; set; }
public bool Verified { get; set; }
public string? RegionCode { get; set; }
public string RegionCode { get; set; } = "CN";
public string? AffiliateId { get; set; }
public string? EmployeeId { get; set; }
public bool IsDisabled { get; set; }