using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.Sys.Entity;
///
/// 通知公告
///
[SqlSugar.SugarTable("SysNotice")]
public class SysNotice : BaseModel
{
///
/// 标题
///
public string Title { get; set; }
///
/// 类型
///
public string Type { get; set; }
///
/// 通告对象类型 (CLIENT:指定客户,ALL:全体客户)
///
public string MsgType { get; set; }
///
/// 指定客户
///
public string ClientIds { get; set; }
///
/// 内容
///
[SugarColumn(ColumnDescription = "内容", IsNullable = true, ColumnDataType=StaticConfig.CodeFirst_BigString)]
public string Content { get; set; }
///
/// 优先级
///
public string Level { get; set; } = "L";
///
/// Desc:发送状态 1 未发布 2 已发布 3 已撤销
/// Default:0
/// Nullable:True
///
public int SendStatus { get; set; } = 1;
///
/// Desc:截至日期
/// Default:
/// Nullable:True
///
public DateTime? EndTime { get; set; }
///
/// Desc:发布日期
/// Default:
/// Nullable:True
///
public DateTime? SendTime { get; set; }
///
/// Desc:撤销日期
/// Default:
/// Nullable:True
///
public DateTime? CancelTime { get; set; }
///
/// Desc:状态 0 正常 1 删除
/// Default:0
/// Nullable:False
///
public short Status { get; set; } = 0;
///
/// 租户Id
///
public string TenantId { get; set; }
}