25 lines
709 B
C#
25 lines
709 B
C#
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;
|
|
}
|
|
}
|