GlobalUsings 清理实体层
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-20 09:20:04 +08:00
parent 0a1ce59670
commit 32931e155c
187 changed files with 7126 additions and 7323 deletions
+16 -15
View File
@@ -1,26 +1,27 @@
using IRaCIS.Core.Domain.Share;
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models;
[Comment("后台 - 验证码记录")]
[Table("VerificationCode")]
public class VerificationCode : BaseAddAuditEntity
namespace IRaCIS.Core.Domain.Models
{
[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;
[Comment("邮箱|手机")]
public VerifyType CodeType { get; set; }
//什么类型的验证码 邮箱|手机
public bool HasSend { get; set; }
public VerifyType CodeType { get; set; }
public string EmailOrPhone { get; set; } = string.Empty;
public bool HasSend { get; set; }
public DateTime ExpirationTime { get; set; }
//发送的邮箱或者手机
public string EmailOrPhone { get; set; } = string.Empty;
//过期时间
public DateTime ExpirationTime { get; set; }
}
}