using SqlSugar; using System; namespace YBDevice.Entity { /// /// 科普资讯 /// [SugarTable("YB_SecInfo", TableDescription = "科普资讯", IsDisabledUpdateAll = false, IsDisabledDelete = true)] public class YB_SecInfo { /// /// /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 类型,1-文本,2-链接,3-跳转小程序 /// [SugarColumn(ColumnDescription = "类型,1-文本,2-链接,3-跳转小程序")] public int Type { get; set; } /// /// 标题 /// [SugarColumn(ColumnDescription = "标题", ColumnDataType = "nvarchar(100)")] public string Title { get; set; } /// /// 所属分组ID /// [SugarColumn(ColumnDescription = "所属分组ID")] public int TagId { get; set; } /// /// 封面图片地址 /// [SugarColumn(ColumnDescription = "标题", ColumnDataType = "varchar(100)")] public string HeadImg { get; set; } /// /// 点击次数 /// [SugarColumn(ColumnDescription = "点击次数")] public int ClickCount { get; set; } /// /// 状态,0-未开启,1-正常运行,2-已关闭 /// [SugarColumn(ColumnDescription = "状态,0-未开启,1-正常运行,2-已关闭")] public int Status { get; set; } /// /// 状态备注 /// [SugarColumn(ColumnDescription = "状态备注",ColumnDataType ="nvarchar(50)")] public string StatusRemark { get; set; } /// /// 小程序appid /// [SugarColumn(ColumnDescription = "小程序appid",IsNullable =true, ColumnDataType = "varchar(50)",DefaultValue = "wx920fdb58338cc50a")] public string AppId { get; set; } /// /// 商户ID /// [SugarColumn(ColumnDescription = "商户ID")] public int BusienssId { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnDescription = "创建时间")] public DateTime CreateTime { get; set; } } }