using FreeSql.DataAnnotations; namespace QYMessageCenter.Model.DB { [Table(Name = "qynotification", DisableSyncStructure = true)] public partial class QYNotification { [Column(DbType = "bigint", IsPrimary = true)] public long Id { get; set; } /// /// 消息所属应用 /// [Column(StringLength = 50)] public string AppCode { get; set; } /// /// 消息频道 /// [Column(StringLength = 50)] public string Channel { get; set; } /// /// 消息所属团队Id /// [Column(StringLength = 50)] public string TeamId { get; set; } /// /// 消息所属店铺Id /// [Column(StringLength = 50)] public string ShopId { get; set; } /// /// 标题 /// [Column(StringLength = 100)] public string Title { get; set; } /// /// 消息内容 /// [Column(StringLength = 2800)] public string Content { get; set; } [Column(DbType = "datetime")] public DateTime? CreateTime { get; set; } /// /// 自定义类型编码 /// [Column(StringLength = 50)] public string CustomTypeCode { get; set; } /// /// 已读人员 /// [Column(StringLength = 1000)] public string ReaderId { get; set; } /// /// 发送人 /// [Column(StringLength = 50)] public string SenderId { get; set; } /// /// 接收人(可空) /// [Column(StringLength = 1000)] public string RecevierId { get; set; } /// /// 是否为Json消息, 解析规则参考CustomTypeCode的约定 /// [Column(DbType = "bit")] public bool IsJsonMsg { get; set; } } }