using System;
using System.Data;


namespace DSWeb.Models
{
    public class UserMessageSettingEntity
    {
        #region 私有成员
        private string _gid;//主键唯一值
        private string _user_id;//用户GID
        private DateTime _create_time;//创建时间
        private DateTime _modified_time;//最后一次更新操作时间
        private int _message_interval;//小弹出间隔时间
        private bool _is_read_system;//是否弹出系统消息
        private bool _is_read_apply;//是否弹出申请审核消息
        private bool _is_read_audit;//是否弹出审核完成消息
        #endregion

        public UserMessageSettingEntity()
        {
        }

        #region 读写属性
        /// <summary>
        /// 主键唯一值
        /// </summary>
        public string GID
        {
            get { return _gid; }
            set { _gid = value; }
        }
        /// <summary>
        /// 用户GID
        /// </summary>
        public string UserID
        {
            get { return _user_id; }
            set { _user_id = value; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime
        {
            get { return _create_time; }
            set { _create_time = value; }
        }
        /// <summary>
        /// 最后一次更新操作时间
        /// </summary>
        public DateTime ModifiedTime
        {
            get { return _modified_time; }
            set { _modified_time = value; }
        }
        /// <summary>
        /// 小弹出间隔时间
        /// </summary>
        public int MessageInterVal
        {
            get { return _message_interval; }
            set { _message_interval = value; }
        }
        /// <summary>
        /// 是否弹出系统消息
        /// </summary>
        public bool IsReadSystem
        {
            get { return _is_read_system; }
            set { _is_read_system = value; }
        }
        /// <summary>
        /// 是否弹出申请审核消息
        /// </summary>
        public bool IsReadApply
        {
            get { return _is_read_apply; }
            set { _is_read_apply = value; }
        }
        /// <summary>
        /// 是否弹出审核完成消息
        /// </summary>
        public bool IsReadAudit
        {
            get { return _is_read_audit; }
            set { _is_read_audit = value; }
        }
        #endregion
    }
}