using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// T_Manager 的摘要说明
/// </summary>
namespace AdminRights
{
    public class TManager
    {
        #region Model
        private int _id;
        private string _managername;
        private string _password;
        private int _roleid;
        private bool _lockedup;
        private string _lastip;
        private DateTime _lastdate;
        private DateTime _adddate;
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public string ManagerName
        {
            set { _managername = value; }
            get { return _managername; }
        }
        /// <summary>
        /// 密码
        /// </summary>
        public string PassWord
        {
            set { _password = value; }
            get { return _password; }
        }
        /// <summary>
        /// 角色ID
        /// </summary>
        public int RoleID
        {
            set { _roleid = value; }
            get { return _roleid; }
        }
        /// <summary>
        /// 锁定
        /// </summary>
        public bool Lockedup
        {
            set { _lockedup = value; }
            get { return _lockedup; }
        }
        /// <summary>
        /// 最近登录IP
        /// </summary>
        public string LastIP
        {
            set { _lastip = value; }
            get { return _lastip; }
        }
        /// <summary>
        /// 最近登录时间
        /// </summary>
        public DateTime LastDate
        {
            set { _lastdate = value; }
            get { return _lastdate; }
        }
        /// <summary>
        /// 加入日期
        /// </summary>
        public DateTime AddDate
        {
            set { _adddate = value; }
            get { return _adddate; }
        }
        #endregion Model
    }
}
