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

namespace Edu.Model.Entity.System
{

    /// <summary>
    /// 系统消息记录实体表
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_System_Log
    {
        public int ID { get; set; }

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

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

        /// <summary>
        /// 学生id
        /// </summary>
        public int Student_Id { get; set; }

        /// <summary>
        /// 发送时间
        /// </summary>

        public DateTime CreateDate { get; set; }
        /// <summary>
        /// 发送状态1：等待回执，2：发送失败，3：发送成功。
        /// </summary>

        public MsgSendStatusEnum? SendStatus { get; set; }


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

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateByName { get; set; }

        /// <summary>
        /// 发送内容
        /// </summary>
        public string SendContent { get; set; }

        /// <summary>
        /// 发送标题
        /// </summary>
        public string SendTitle { get; set; }

        /// <summary>
        /// 发送图片信息
        /// </summary>
        public string PicUrl { get; set; }

        /// <summary>
        /// 消息类型
        /// </summary>
        public SystemTypeEnum SystemType { get; set; }
    }
}
