using SqlSugar;
using YD_Event.Core.Enum;
namespace YD_Event.Core.Entities;
///
/// 短信发送日志
///
[SugarTable("SysSmsLog")]
public class SysSmsLog : Entity, ICreatedTime
{
///
/// 接收手机号
///
[SugarColumn(Length = 20)]
public string Phone { get; set; }
///
/// 短信模板Code
///
[SugarColumn(Length = 50)]
public string TemplateCode { get; set; }
///
/// 模板参数
///
[SugarColumn(Length = 512, IsNullable = true)]
public string TemplateParam { get; set; }
///
/// 发送状态(成功/失败)
///
public bool Success { get; set; }
///
/// 响应代码
///
[SugarColumn(Length = 50, IsNullable = true)]
public string ResponseCode { get; set; }
///
/// 响应消息
///
[SugarColumn(Length = 512, IsNullable = true)]
public string ResponseMessage { get; set; }
///
/// 请求ID
///
[SugarColumn(Length = 128, IsNullable = true)]
public string RequestId { get; set; }
///
/// 异常信息
///
[SugarColumn(ColumnDataType = "text", IsNullable = true)]
public string Exception { get; set; }
///
/// 发送时间
///
public DateTime CreatedTime { get; set; }
}