整理数据库实体备注
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-20 18:20:37 +08:00
parent d3e3ed79ba
commit 40c8a51a31
174 changed files with 5006 additions and 6652 deletions
+13 -15
View File
@@ -1,27 +1,25 @@
using IRaCIS.Core.Domain.Share;
namespace IRaCIS.Core.Domain.Models
namespace IRaCIS.Core.Domain.Models;
[Table("VerificationCode")]
public class VerificationCode : BaseAddAuditEntity
{
[Table("VerificationCode")]
public class VerificationCode : BaseAddAuditEntity
{
public Guid UserId { get; set; } = Guid.Empty;
public Guid UserId { get; set; } = Guid.Empty;
//验证码
public string Code { get; set; } = string.Empty;
//验证码
public string Code { get; set; } = string.Empty;
//什么类型的验证码 邮箱|手机
//什么类型的验证码 邮箱|手机
public VerifyType CodeType { get; set; }
public VerifyType CodeType { get; set; }
public bool HasSend { get; set; }
public bool HasSend { get; set; }
//发送的邮箱或者手机
public string EmailOrPhone { get; set; } = string.Empty;
//发送的邮箱或者手机
public string EmailOrPhone { get; set; } = string.Empty;
//过期时间
public DateTime ExpirationTime { get; set; }
//过期时间
public DateTime ExpirationTime { get; set; }
}
}