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.
|
|
|
|
using SqlSugar;
|
|
|
|
|
using System;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
namespace Myshipping.Core.Entity;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 通知公告表
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("sys_notice")]
|
|
|
|
|
[Description("通知公告表")]
|
|
|
|
|
public class SysNotice : DEntityBase
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 标题
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required, MaxLength(20)]
|
|
|
|
|
public string Title { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 内容
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required]
|
|
|
|
|
public string Content { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 类型(字典 1通知 2公告)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public NoticeType Type { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发布人Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long PublicUserId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发布人姓名
|
|
|
|
|
/// </summary>
|
|
|
|
|
[MaxLength(20)]
|
|
|
|
|
public string PublicUserName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发布机构Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long PublicOrgId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发布机构名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[MaxLength(50)]
|
|
|
|
|
public string PublicOrgName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发布时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime PublicTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 撤回时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime CancelTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 状态(字典 0草稿 1发布 2撤回 3删除)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public NoticeStatus Status { get; set; }
|
|
|
|
|
}
|