Model/LogInfo.cs

(完整代码) 1KB

using System;

namespace MyShop.Model
{
    [Serializable]
    public class LogInfo
    {

        private int _LogID = 0;
        private int _LogType = 0;
        private int _ChannelID = 1;
        private string _LogTime = DateTime.Now.ToString();
        private string _UserName = "";
        private string _UserIP = "";
        private string _LogContent = "";
        private string _ScriptName = "";
        private string _PostString ="";

        public LogInfo() { }
        public LogInfo(int LogID, int LogType, int ChannelID, string LogTime, string UserName, string UserIP, string LogContent, string ScriptName, string PostString)
        {
            this._LogID = LogID;
            this._LogType = LogType;
            this._ChannelID = ChannelID;
            this._LogTime = LogTime;
            this._UserName = UserName;
            this._UserIP = UserIP;
            this._LogContent = LogContent;
            this._ScriptName = ScriptName;
            this._PostString = PostString;
        }

        public int LogID { get { return this._LogID; } set { this._LogID = value; } }
        public int LogType { get { return this._LogType; } set { this._LogType = value; } }
        public int ChannelID { get { return this._ChannelID; } set { this._ChannelID = value; } }
        public string LogTime { get { return this._LogTime; } set { this._LogTime = value; } }
        public string UserName { get { return this._UserName; } set { this._UserName = value; } }
        public string UserIP { get { return this._UserIP; } set { this._UserIP = value; } }
        public string LogContent { get { return this._LogContent; } set { this._LogContent = value; } }
        public string ScriptName { get { return this._ScriptName; } set { this._ScriptName = value; } }
        public string PostString { get { return this._PostString; } set { this._PostString = value; } }
    }
}

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

AI 解读 AI

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

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