using System;
namespace System.Model
{
    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_remindertime;
        private DateTime? _sms_readtime;
        private DateTime? _sms_deletetime;
        private int? _sms_isdelete;
        private int? _sms_order;
        private int? _sms_istop;
        private int? _sms_type;
        private int? _sms_receivingtype;
        private int? _sms_deptid;
        private int? _f_id;

        //
        /// <summary>
        /// id,自增
        /// </summary>
        public int SMS_Id
        {
            set { _sms_id = value; }
            get { return _sms_id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? F_ID
        {
            set { _f_id = value; }
            get { return _f_id; }
        }
        /// <summary>
        /// 短信标题
        /// </summary>
        public string SMS_Title
        {
            set { _sms_title = value; }
            get { return _sms_title; }
        }
        /// <summary>
        /// 接收部门
        /// </summary>
        public int? SMS_Deptid
        {
            set { _sms_deptid = value; }
            get { return _sms_deptid; }
        }

        /// <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_Remindertime
        {
            set { _sms_remindertime = value; }
            get { return _sms_remindertime; }
        }
        
        /// <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>
        /// 接收类型
        /// </summary>
        public int? SMS_ReceivingType
        {
            set { _sms_receivingtype = value; }
            get { return _sms_receivingtype; }
        }
        /// <summary>
        /// 类型：0消息，1工单，2知识库
        /// </summary>
        public int? SMS_Type
        {
            set { _sms_type = value; }
            get { return _sms_type; }
        }
        #endregion Model
    }

    /// <summary>
    /// 消息类型：
    /// </summary>
    public enum EnumSmsType
    {
        order,//订单
        media,//媒体投放
        task,//任务
        todo,//待办事项
       quality,//质检
        achievements//绩效
    }
}
