You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

82 lines
1.8 KiB
C#

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