using System;
using System.Data;

namespace DSWeb.Models
{
    public class UserAuthorityRangeEntity
    {
        #region 私有成员
        private string _gid;//主键唯一值
        private string _user_id;//用户GID
        private string _authority_id;//权限范围GID
        private int _visible_range;//可视范围
        private int _operate_range;//可操作范围
        private string _create_user;//创建人
        private DateTime _create_time;//创建时间
        private string _modified_user;//最后一次更新操作人GID
        private DateTime _modified_time;//最后一次更新操作时间
        #endregion

        public UserAuthorityRangeEntity()
        {
        }

        #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>
        /// 权限范围GID
        /// </summary>
        public string AuthorityID
        {
            get { return _authority_id; }
            set { _authority_id = value; }
        }
        /// <summary>
        /// 可视范围
        /// </summary>
        public int VisableRange
        {
            get { return _visible_range; }
            set { _visible_range = value; }
        }
        /// <summary>
        /// 可操作范围
        /// </summary>
        public int OperateRange
        {
            get { return _operate_range; }
            set { _operate_range = value; }
        }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateUser
        {
            get { return _create_user; }
            set { _create_user = value; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime
        {
            get { return _create_time; }
            set { _create_time = value; }
        }
        /// <summary>
        /// 最后一次更新操作人GID
        /// </summary>
        public string ModifiedUser
        {
            get { return _modified_user; }
            set { _modified_user = value; }
        }
        /// <summary>
        /// 最后一次更新操作时间
        /// </summary>
        public DateTime ModifiedTime
        {
            get { return _modified_time; }
            set { _modified_time = value; }
        }
        #endregion
    }
}