Model/AdminInfo.cs

(完整代码) 2KB

using System;

namespace MyShop.Model
{
    [Serializable]
    public class AdminInfo
    {
        private	int	_ID		= 0	;
        private	string	_AdminName	=	""	;
        private	string	_UserName	=	""	;
        private	string	_Password	=	""	;
        private	int	_Purview	=	2	;
        private	string	_RoleName	=	""	;
        private	string	_LastLogInIP	=	""	;
        private	string	_LastLogInTime	=	DateTime.Now.ToString()	;
        private	string	_LastLogoutTime	=	DateTime.Now.ToString()	;
        private	int 	_LogInTimes	=	0	;
        private	string	_RndPassword	=	""	;
        private	int	_EnableMultiLogIn	=	0	;

        public AdminInfo() { }

        public AdminInfo(int ID, string AdminName, string UserName, string Password, int Purview, string RoleName, string LastLogInIP, string LastLogInTime, string LastLogoutTime, int LogInTimes, string RndPassword, int EnableMultiLogIn)
        {
            this._ID = ID;
            this._AdminName = AdminName;
            this._UserName = UserName;
            this._Password = Password;
            this._Purview = Purview;
            this._RoleName = RoleName;
            this._LastLogInIP = LastLogInIP;
            this._LastLogInTime = LastLogInTime;
            this._LastLogoutTime = LastLogoutTime;
            this._LogInTimes = LogInTimes;
            this._RndPassword = RndPassword;
            this._EnableMultiLogIn = EnableMultiLogIn;
        }



        public	int	ID	{ get { return this._ID	;} set { this._ID	= value; } }
        public	string	AdminName	{ get { return this._AdminName	;} set { this._AdminName	= value; } }
        public	string	UserName	{ get { return this._UserName	;} set { this._UserName	= value; } }
        public	string	Password	{ get { return this._Password	;} set { this._Password	= value; } }
        public	int	Purview	{ get { return this._Purview	;} set { this._Purview	= value; } }
        public	string	RoleName	{ get { return this._RoleName	;} set { this._RoleName	= value; } }
        public	string	LastLogInIP	{ get { return this._LastLogInIP	;} set { this._LastLogInIP	= value; } }
        public	string	LastLogInTime	{ get { return this._LastLogInTime	;} set { this._LastLogInTime	= value; } }
        public	string	LastLogoutTime	{ get { return this._LastLogoutTime	;} set { this._LastLogoutTime	= value; } }
        public	int 	LogInTimes	{ get { return this._LogInTimes	;} set { this._LogInTimes	= value; } }
        public	string	RndPassword	{ get { return this._RndPassword	;} set { this._RndPassword	= value; } }
        public	int	EnableMultiLogIn	{ get { return this._EnableMultiLogIn	;} set { this._EnableMultiLogIn	= value; } }


    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。