using System;
namespace RMYY_CallCenter_Api.Model
{
    /// <summary>
    /// T_SMS_InternalMessages:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class T_SMS_InternalMessages
    {
        public T_SMS_InternalMessages()
        { }
        #region Model
        private int _sms_id;
        private string _sms_title;
        private string _sms_content;
        private string _sms_receiveusercode;
        private string _sms_sendusercode;
        private int? _sms_isread;
        private DateTime? _sms_sendtime;
        private DateTime? _sms_readtime;
        private DateTime? _sms_deletetime;
        private int? _sms_isdelete;
        private int? _sms_order;
        private int? _sms_istop;
        private int? _sms_type = 0;
        private string _f_workorderid;
        /// <summary>
        /// id,自增
        /// </summary>
        public int SMS_Id
        {
            set { _sms_id = value; }
            get { return _sms_id; }
        }
        /// <summary>
        /// 短信标题
        /// </summary>
        public string SMS_Title
        {
            set { _sms_title = value; }
            get { return _sms_title; }
        }
        /// <summary>
        /// 短信内容
        /// </summary>
        public string SMS_Content
        {
            set { _sms_content = value; }
            get { return _sms_content; }
        }
        /// <summary>
        /// 接收用户Code
        /// </summary>
        public string SMS_ReceiveUserCode
        {
            set { _sms_receiveusercode = value; }
            get { return _sms_receiveusercode; }
        }
        /// <summary>
        /// 发送用户Code
        /// </summary>
        public string SMS_SendUserCode
        {
            set { _sms_sendusercode = value; }
            get { return _sms_sendusercode; }
        }
        /// <summary>
        /// 是否阅读(0未阅读1已阅读)
        /// </summary>
        public int? SMS_IsRead
        {
            set { _sms_isread = value; }
            get { return _sms_isread; }
        }
        /// <summary>
        /// 发送时间
        /// </summary>
        public DateTime? SMS_SendTime
        {
            set { _sms_sendtime = value; }
            get { return _sms_sendtime; }
        }
        /// <summary>
        /// 阅读时间
        /// </summary>
        public DateTime? SMS_ReadTime
        {
            set { _sms_readtime = value; }
            get { return _sms_readtime; }
        }
        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? SMS_DeleteTime
        {
            set { _sms_deletetime = value; }
            get { return _sms_deletetime; }
        }
        /// <summary>
        /// 是否删除(0默认1删除)
        /// </summary>
        public int? SMS_IsDelete
        {
            set { _sms_isdelete = value; }
            get { return _sms_isdelete; }
        }
        /// <summary>
        /// 排序
        /// </summary>
        public int? SMS_Order
        {
            set { _sms_order = value; }
            get { return _sms_order; }
        }
        /// <summary>
        /// 置顶(0默认1置顶)
        /// </summary>
        public int? SMS_IsTop
        {
            set { _sms_istop = value; }
            get { return _sms_istop; }
        }
        /// <summary>
        /// 类型：1工单
        /// </summary>
        public int? SMS_Type
        {
            set { _sms_type = value; }
            get { return _sms_type; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string F_WorkOrderId
        {
            set { _f_workorderid = value; }
            get { return _f_workorderid; }
        }
        /// <summary>
        /// 钉钉消息id
        /// </summary>
        public string F_Task_id { set; get; }

        /// <summary>
        /// 工单编号
        /// </summary>
        public string F_WorkOrderCode { set; get; }
        #endregion Model

    }
    /// <summary>
    /// 消息类型：
    /// </summary>
    public enum EnumSmsType
    {
        /// <summary>
        /// 咨询
        /// </summary>
        consulting,
        /// <summary>
        /// 故障保修
        /// </summary>
        repair,
        /// <summary>
        /// 车辆调度
        /// </summary>
        car,
        /// <summary>
        /// 综合调度
        /// </summary>
        comprehensive,
        /// <summary>
        /// 司机工单
        /// </summary>
        driver

    }
}