This commit is contained in:
mmrbnjd
2025-06-29 15:29:51 +03:30
parent 279940198a
commit 86de5d3e39
13 changed files with 292 additions and 22 deletions

View File

@@ -5,19 +5,19 @@ namespace Identity.Models
{
public class VerificationCode : BaseEntity
{
public VerificationCode(int companyIDorUserId, VerificationCodeType type, string code)
public VerificationCode( VerificationCodeType type, string code, string mobile)
{
CompanyIDorUserId = companyIDorUserId;
Type = type;
Code = code;
Mobile = mobile;
}
public int ID { get; set; }
public int CompanyIDorUserId { get; set; }
////CompanyIDorUserId
//public int? KeyId { get; set; }
public VerificationCodeType Type { get; set; }
public string Code { get; set; }
public string? newPassword { get; set; }
public string? Token { get; set; }
public string Mobile { get; set; }
public DateTime Cdatetime
{ get; set; } = DateTime.Now;
}