Generator Changes at 9/27/2025 11:07:17 PM
This commit is contained in:
17
src/CMSMicroservice.Domain/Entities/OtpToken.cs
Normal file
17
src/CMSMicroservice.Domain/Entities/OtpToken.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace CMSMicroservice.Domain.Entities;
|
||||
//توکن Otp
|
||||
public class OtpToken : BaseAuditableEntity
|
||||
{
|
||||
//موبایل مقصد
|
||||
public string Mobile { get; set; }
|
||||
//مقصود
|
||||
public string Purpose { get; set; }
|
||||
//کد هش شده
|
||||
public string CodeHash { get; set; }
|
||||
//زمان انقضا
|
||||
public DateTime ExpiresAt { get; set; }
|
||||
//شمارش تلاشها
|
||||
public int Attempts { get; set; }
|
||||
//موفق بود؟
|
||||
public bool IsUsed { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user