Files
Hushian/Hushian.Domain/Entites/VerificationCode.cs

25 lines
709 B
C#
Raw Normal View History

2025-06-28 16:13:40 +03:30
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;
}
}