匿名邮箱修改密码

This commit is contained in:
2022-04-06 15:29:32 +08:00
parent 30f912a6a0
commit 512a4591af
6 changed files with 187 additions and 341 deletions
+11 -1
View File
@@ -5,20 +5,30 @@ using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
[Table("VerificationCode")]
public class VerificationCode:Entity
public class VerificationCode:Entity, IAuditAdd
{
//public Guid Id { get; set; }
public Guid UserId { get; set; } = Guid.Empty;
//验证码
public string Code { get; set; }
//什么类型的验证码 邮箱|手机
public VerifyType CodeType { get; set; }
public bool HasSend { get; set; }
//发送的邮箱或者手机
public string EmailOrPhone { get; set; }
//过期时间
public DateTime ExpirationTime { get; set; }
public Guid CreateUserId { get; set; }
public DateTime CreateTime { get; set; }
}
}