SysOperLog.cs 1.57 KB
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace WebRepository
{
    /// <summary>
	/// 操作日志
	/// </summary>
    [Table("sys_oper_log")]
    public partial class SysOperLog : SysEntity
    {
        public SysOperLog()
        {
        }

        /// <summary>
	    /// 地址
	    /// </summary>
        [Column("url")]
        public string Url { get; set; }
        /// <summary>
	    /// 
	    /// </summary>
        [Column("operType")]
        public string OperType { get; set; }
        /// <summary>
	    /// 方法
	    /// </summary>
        [Column("method")]
        public string Method { get; set; }
        /// <summary>
	    /// 请求
	    /// </summary>
        [Column("request")]
        public string Request { get; set; }
        /// <summary>
	    /// 参数
	    /// </summary>
        [Column("parameter")]
        public string Parameter { get; set; }
        /// <summary>
	    /// 响应
	    /// </summary>
        [Column("response")]
        public string Response { get; set; }
        /// <summary>
	    /// 耗时(毫秒)
	    /// </summary>
        [Column("totalMilliseconds")]
        public double? TotalMilliseconds { get; set; }
        /// <summary>
	    /// 日志时间
	    /// </summary>
        [Column("logTime")]
        public System.DateTime? LogTime { get; set; }
        /// <summary>
	    /// 用户名
	    /// </summary>
        [Column("name")]
        public string Name { get; set; }
        /// <summary>
	    /// Ip
	    /// </summary>
        [Column("ip")]
        public string Ip { get; set; }
    }
}