using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Dilon.Core
{
///
/// 通知公告表
///
[Table("sys_notice")]
[Comment("通知公告表")]
public class SysNotice : DEntityBase
{
///
/// 标题
///
[Comment("标题")]
public string Title { get; set; }
///
/// 内容
///
[Comment("内容")]
public string Content { get; set; }
///
/// 类型(字典 1通知 2公告)
///
[Comment("类型")]
public int Type { get; set; }
///
/// 发布人Id
///
[Comment("发布人Id")]
[Column("发布人Id", TypeName = "varchar(36)")]
public string PublicUserId { get; set; }
///
/// 发布人姓名
///
[Comment("发布人姓名")]
public string PublicUserName { get; set; }
///
/// 发布机构Id
///
[Comment("发布机构Id")]
[Column("发布机构Id", TypeName = "varchar(36)")]
public string PublicOrgId { get; set; }
///
/// 发布机构名称
///
[Comment("发布机构名称")]
public string PublicOrgName { get; set; }
///
/// 发布时间
///
[Comment("发布时间")]
public DateTimeOffset PublicTime { get; set; }
///
/// 撤回时间
///
[Comment("撤回时间")]
public DateTimeOffset CancelTime { get; set; }
///
/// 状态(字典 0草稿 1发布 2撤回 3删除)
///
[Comment("状态")]
public int Status { get; set; }
}
}