You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.1 KiB
43 lines
1.1 KiB
|
3 months ago
|
using ATS.NonCustodial.Domain.Shared.AggRootEntities;
|
||
|
|
using ATS.NonCustodial.Domain.Shared.Constants;
|
||
|
|
using ATS.NonCustodial.Domain.Shared.Enums;
|
||
|
|
using ATS.NonCustodial.Shared.Common.Enums;
|
||
|
|
using ATS.NonCustodial.Shared.Common.Enums.IM;
|
||
|
|
using Microsoft.EntityFrameworkCore;
|
||
|
|
using System.ComponentModel.DataAnnotations;
|
||
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
||
|
|
using System.Numerics;
|
||
|
|
|
||
|
|
namespace ATS.NonCustodial.Domain.Entities.Admins
|
||
|
|
{
|
||
|
|
[Table("app_sms")]
|
||
|
|
public class AppSMS: EntityFull
|
||
|
|
{
|
||
|
|
public AppSMS()
|
||
|
|
{ }
|
||
|
|
|
||
|
|
public AppSMS(long id)
|
||
|
|
{
|
||
|
|
Id = id;
|
||
|
|
}
|
||
|
|
|
||
|
|
public string phone { get; set; } = string.Empty;
|
||
|
|
|
||
|
|
public string content { get; set; } = string.Empty;
|
||
|
|
|
||
|
|
public string? code { get; set; }
|
||
|
|
|
||
|
|
public DateTime sendTime { get; set; }
|
||
|
|
|
||
|
|
public DateTime expiresTime { get; set; }
|
||
|
|
|
||
|
|
public bool isUsed { get; set; } = false;
|
||
|
|
|
||
|
|
public DateTime? useTime { get; set; }
|
||
|
|
|
||
|
|
public string ipAddress { get; set; } = string.Empty;
|
||
|
|
|
||
|
|
public string type { get; set; } = "default";
|
||
|
|
}
|
||
|
|
}
|