fix issue by self test

This commit is contained in:
jason.wang 2024-10-19 18:49:18 +08:00
parent b4800efb6d
commit 0623f3dbef
2 changed files with 3 additions and 1 deletions

View file

@ -19,9 +19,10 @@ public class UserDocument : MongoBase
public string? VerificationCode { get; set; }
public bool Verified { get; set; }
public string? AffiliateId { get; set; }
public string? EmployeeId { get; set; }
public bool IsDisabled { get; set; }
public DateTime CreatedTime { get; set; }
public DateTime UpdatedTime { get; set; }
public DateTime UpdatedTime { get; set; }
public User ToUser()
{

View file

@ -71,6 +71,7 @@ public partial class MongoRepository
VerificationCode = user.VerificationCode,
Verified = user.Verified,
AffiliateId = user.AffiliateId,
EmployeeId = user.EmployeeId,
IsDisabled = user.IsDisabled,
CreatedTime = DateTime.UtcNow,
UpdatedTime = DateTime.UtcNow