匿名邮箱修改密码
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user