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

25 lines
652 B
C#
Raw Permalink 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
{
2025-06-29 15:29:51 +03:30
public VerificationCode( VerificationCodeType type, string code, string mobile)
2025-06-28 16:13:40 +03:30
{
Type = type;
Code = code;
2025-06-29 15:29:51 +03:30
Mobile = mobile;
2025-06-28 16:13:40 +03:30
}
public int ID { get; set; }
2025-06-29 15:29:51 +03:30
////CompanyIDorUserId
//public int? KeyId { get; set; }
2025-06-28 16:13:40 +03:30
public VerificationCodeType Type { get; set; }
public string Code { get; set; }
2025-06-29 15:29:51 +03:30
public string Mobile { get; set; }
2025-06-28 16:13:40 +03:30
public DateTime Cdatetime
{ get; set; } = DateTime.Now;
}
}