verifaction

This commit is contained in:
mmrbnjd
2025-06-28 16:13:40 +03:30
parent c0b47129d4
commit 22fe43979a
10 changed files with 121 additions and 18 deletions

View 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;
}
}