using Edu.Common.Enum;
using Edu.Common.Enum.User;
using System;
using VT.FW.DB;

namespace Edu.Model.Entity.User
{
    /// <summary>
    /// 公告实体类
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_Notice
    {
		/// <summary>
		/// 主键
		/// </summary>
		public int Id { get; set; }

		/// <summary>
		/// 来源
		/// </summary>
		public string From { get; set; }

        /// <summary>
		/// 发送
		/// </summary>
		public string To { get; set; }

        /// <summary>
        /// 抄送人
        /// </summary>
        public string CopyPeople { get; set; }

        /// <summary>
        /// 编号  
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 编码规则  枚举
        /// </summary>
        public NoticeRuleEnum NumberRule { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 富文本内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 附件  json格式 
        /// </summary>
        public string File { get; set; }

        /// <summary>
        /// 公告状态
        /// </summary>
        public NoticeStateEnum NoticeState { get; set; }

        /// <summary>
        /// 是否置顶  1是  2否
        /// </summary>
        public int Is_Top { get; set; }

        /// <summary>
        /// 集团编号
        /// </summary>
        public int Group_Id { get; set; }

        /// <summary>
        /// 学校编号
        /// </summary>
        public int School_Id { get; set; }

        /// <summary>
        /// 删除状态
        /// </summary>
        public DateStateEnum Status { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public int CreateBy { get; set; }

		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime? CreateTime { get; set; }

		/// <summary>
		/// 修改人
		/// </summary>
		public int UpdateBy { get; set; }

		/// <summary>
		/// 修改时间
		/// </summary>
		public DateTime? UpdateTime { get; set; }
	}
}
