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_Msg_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 ReceiverName { get; set; }


        /// <summary>
        /// 接收人电话
        /// </summary>
        public string ReceiverPhone { get; set; }


        /// <summary>
        /// 存储位置，1-腾讯云，2-阿里，3-其他
        /// </summary>
        public Common.Enum.Public.StoreTypeEnum StoreType { get; set; }


        /// <summary>
        /// 消息配置信息
        /// </summary>
        public string MsgConfigure { get; set; }
    }
}
