齐越消息中心
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.
 
 
 

84 lines
2.1 KiB

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; }
/// <summary>
/// 消息所属应用
/// </summary>
[Column(StringLength = 50)]
public string AppCode { get; set; }
/// <summary>
/// 消息频道
/// </summary>
[Column(StringLength = 50)]
public string Channel { get; set; }
/// <summary>
/// 消息所属团队Id
/// </summary>
[Column(StringLength = 50)]
public string TeamId { get; set; }
/// <summary>
/// 消息所属店铺Id
/// </summary>
[Column(StringLength = 50)]
public string ShopId { get; set; }
/// <summary>
/// 标题
/// </summary>
[Column(StringLength = 100)]
public string Title { get; set; }
/// <summary>
/// 消息内容
/// </summary>
[Column(StringLength = 2800)]
public string Content { get; set; }
[Column(DbType = "datetime")]
public DateTime? CreateTime { get; set; }
/// <summary>
/// 自定义类型编码
/// </summary>
[Column(StringLength = 50)]
public string CustomTypeCode { get; set; }
/// <summary>
/// 已读人员
/// </summary>
[Column(StringLength = 1000)]
public string ReaderId { get; set; }
/// <summary>
/// 发送人
/// </summary>
[Column(StringLength = 50)]
public string SenderId { get; set; }
/// <summary>
/// 接收人(可空)
/// </summary>
[Column(StringLength = 1000)]
public string RecevierId { get; set; }
/// <summary>
/// 是否为Json消息, 解析规则参考CustomTypeCode的约定
/// </summary>
[Column(DbType = "bit")]
public bool IsJsonMsg { get; set; }
}
}