using System;
namespace Stat.Model
{
    ///<summary>
    ///实体类
    ///</summary>
    [Serializable]
    public partial class Log
    {
        /// <summary>
        /// 
        /// </summary>
        public Log()
        {
            Name = "";
            Value = "";
            Expansion = "";
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="action">操作方法 Insert:增加 Update:修改 Delete:删除</param>
        /// <param name="name">标题/键名</param>
        /// <param name="type">0：全部， 1：系统运行，2：升级信息，3：错误信息</param>
        public Log(string action, string name,int type)
        {
            DbAction = action;
            Name = name;
            Expansion = "";
            Type = type;
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="action">操作方法 Insert:增加 Update:修改 Delete:删除</param>
        /// <param name="name">标题/键名</param>
        /// <param name="strValue"></param>
        /// <param name="type">0：全部， 1：系统信息，2：其他信息</param>
        public Log(string action, string name,string strValue, int type)
        {
            DbAction = action;
            Name = name;
            Value = strValue;
            Expansion = "";
            Type = type;
        }
        ///<summary>
        /// 操作方法 Insert:增加 Update:修改 Delete:删除
        ///</summary>
        public string DbAction { set; get; }
        /// <summary>
        /// ID
        /// </summary>
        public Int32 ID { set; get; }
        /// <summary>
        /// name
        /// </summary>
        public String Name { set; get; }
        /// <summary>
        /// value
        /// </summary>
        public String Value { set; get; }
        /// <summary>
        /// 0：全部， 1：系统信息，2：作业信息
        /// </summary>
        public Int32 Type { set; get; }
        /// <summary>
        /// webid
        /// </summary>
        public Int32 Webid { set; get; }
        /// <summary>
        /// userID
        /// </summary>
        public Int32 UserID { set; get; }
        /// <summary>
        /// AddTime
        /// </summary>
        public DateTime? AddTime { set; get; }
        /// <summary>
        /// expansion
        /// </summary>
        public String Expansion { set; get; }
    }
}
  