给字符串增加默认值空
continuous-integration/drone/push Build is passing

This commit is contained in:
hang
2024-09-07 00:19:33 +08:00
parent 2d864de128
commit 6e2a58c3d7
37 changed files with 393 additions and 232 deletions
@@ -11,7 +11,7 @@ namespace IRaCIS.Core.Domain.Models
public Guid UserId { get; set; } = Guid.Empty;
//验证码
public string Code { get; set; }
public string Code { get; set; } = string.Empty;
//什么类型的验证码 邮箱|手机
@@ -20,7 +20,7 @@ namespace IRaCIS.Core.Domain.Models
public bool HasSend { get; set; }
//发送的邮箱或者手机
public string EmailOrPhone { get; set; }
public string EmailOrPhone { get; set; }=string.Empty;
//过期时间
public DateTime ExpirationTime { get; set; }