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#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.System.Entity;
/// <summary>
/// 通知公告
/// </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)]
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; }
}