using SqlSugar; using System; namespace YBDevice.Entity { /// /// 小程序订阅消息模板列表 /// [SugarTable("YB_MiniProgramSubscribeMessageTpl", TableDescription = "小程序订阅消息模板列表", IsDisabledUpdateAll = false, IsDisabledDelete = true)] public class YB_MiniProgramSubscribeMessageTpl { /// /// 主键 /// [SugarColumn(IsPrimaryKey = true)] public Guid Id { get; set; } /// /// 小程序appid /// [SugarColumn(ColumnDescription = "小程序appid", ColumnDataType = "varchar(50)")] public string AppId { get; set; } /// /// 添加至帐号下的模板 id,发送小程序订阅消息时所需 /// [SugarColumn(ColumnDescription = "添加至帐号下的模板 id,发送小程序订阅消息时所需", ColumnDataType = "varchar(100)")] public string PriTmplId { get; set; } /// /// 模板标题 /// [SugarColumn(ColumnDescription = "模板标题", ColumnDataType = "nvarchar(50)")] public string Title { get; set; } /// /// 模板内容 /// [SugarColumn(ColumnDescription = "模版内容", ColumnDataType = "nvarchar(100)")] public string Content { get; set; } /// /// 模板关键字列表,多个以|分隔 /// [SugarColumn(ColumnDescription = "模板关键字列表,多个以|分隔", ColumnDataType = "varchar(100)")] public string KeyWords { get; set; } /// /// 模板关键字对应的值,多个以|分隔 /// [SugarColumn(ColumnDescription = "模板关键字对应的值,多个以|分隔", ColumnDataType = "nvarchar(200)")] public string Example { get; set; } /// /// 模板类型,2-一次性订阅,3-长期订阅 /// [SugarColumn(ColumnDescription = "模板类型,2-一次性订阅,3-长期订阅")] public int Type { get; set; } /// /// 是否选取,true-是,false-否 /// [SugarColumn(ColumnDescription = "是否选取,true-是,false-否")] public bool IsSelected { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnDescription = "创建时间")] public DateTime CreateTime { get; set; } } }