verifaction
This commit is contained in:
24
Hushian.Domain/Entites/VerificationCode.cs
Normal file
24
Hushian.Domain/Entites/VerificationCode.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using Common.Enums;
|
||||
using Hushian.Domain.Abstracts;
|
||||
|
||||
namespace Identity.Models
|
||||
{
|
||||
public class VerificationCode : BaseEntity
|
||||
{
|
||||
public VerificationCode(int companyIDorUserId, VerificationCodeType type, string code)
|
||||
{
|
||||
CompanyIDorUserId = companyIDorUserId;
|
||||
Type = type;
|
||||
Code = code;
|
||||
}
|
||||
|
||||
public int ID { get; set; }
|
||||
public int CompanyIDorUserId { get; set; }
|
||||
public VerificationCodeType Type { get; set; }
|
||||
public string Code { get; set; }
|
||||
public string? newPassword { get; set; }
|
||||
public string? Token { get; set; }
|
||||
public DateTime Cdatetime
|
||||
{ get; set; } = DateTime.Now;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user