SysInterfaceLog.cs 2.52 KB
using System;
using System.ComponentModel.DataAnnotations.Schema;

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

        /// <summary>
	    /// 类型:接收/发送
	    /// </summary>
        [Column("type")]
        public string Type { get; set; }
        /// <summary>
	    /// 系统
	    /// </summary>
        [Column("system")]
        public string System { get; set; }
        /// <summary>
	    /// 方法
	    /// </summary>
        [Column("method")]
        public string Method { get; set; }
        /// <summary>
	    /// 服务器
	    /// </summary>
        [Column("server")]
        public string Server { get; set; }
        /// <summary>
	    /// 路径
	    /// </summary>
        [Column("path")]
        public string Path { get; set; }
        /// <summary>
	    /// 调用方法
	    /// </summary>
        [Column("actionName")]
        public string ActionName { get; set; }
        /// <summary>
	    /// 查询字符串
	    /// </summary>
        [Column("queryString")]
        public string QueryString { get; set; }
        /// <summary>
	    /// Api控制器
	    /// </summary>
        [Column("apiGroup")]
        public string ApiGroup { get; set; }
        /// <summary>
	    /// 请求
	    /// </summary>
        [Column("request")]
        public string Request { 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; }
        /// <summary>
	    /// 浏览器
	    /// </summary>
        [Column("browser")]
        public string Browser { get; set; }
        /// <summary>
	    /// 结果
	    /// </summary>
        [Column("result")]
        public string Result { get; set; }
        /// <summary>
	    /// 重发标识
	    /// </summary>
        [Column("flag")]
        public int? Flag { get; set; }
    }
}