using System;
using System.Collections.Generic;
using System.Text;
using Edu.Common.Enum;
using Edu.Common.Enum.App;
using VT.FW.DB;

namespace Edu.Model.Entity.App
{

    /// <summary>
    /// 学生app系统消息
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_Student_SystemMsg
    {

        public int MsgId { get; set; }

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

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

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



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



        /// <summary>
        /// 删除状态(0-正常,1-禁用)
        /// </summary>
        public DateStateEnum Status { get; set; }


        /// <summary>
        /// 账户id（表RB_Account的id）
        /// </summary>
        public int Student_Id { get; set; }
        /// <summary>
        /// 是否已读，0-未读，1-已读
        /// </summary>
        public int IsRead { get; set; }
        /// <summary>
        /// 阅读时间
        /// </summary>
        public DateTime? ReadTime { get; set; }

        /// <summary>
        /// 消息类型
        /// </summary>
        public MsgTypeEnum? MsgType { get; set; }

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

        /// <summary>
        /// 学校提醒的的类型
        /// </summary>
        public StudentTypeEnum? StudentType { get; set; }


        /// <summary>
        /// 图片
        /// </summary>
        public string Pic { get; set; }

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