You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DSWMS/Vue.Net/VOL.Entity/DomainModels/System/Sys_Log.cs

148 lines
3.9 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果数据库字段发生变化请在代码生器重新生成此Model
*/
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;
namespace VOL.Entity.DomainModels
{
[Entity(TableCnName = "系统日志",TableName = "Sys_Log_Core")]
[Table("Sys_Log_Core")]
public class Sys_Log:BaseEntity
{
/// <summary>
///
/// </summary>
[Key]
[Display(Name ="Id")]
[Column(TypeName="int")]
[Required(AllowEmptyStrings=false)]
public int Id { get; set; }
/// <summary>
///开始时间
/// </summary>
[Display(Name ="开始时间")]
[Column(TypeName="datetime")]
public DateTime? BeginDate { get; set; }
/// <summary>
///用户名称
/// </summary>
[Display(Name ="用户名称")]
[Column(TypeName="nvarchar(max)")]
public string UserName { get; set; }
/// <summary>
///请求地址
/// </summary>
[Display(Name ="请求地址")]
[Column(TypeName="nvarchar(max)")]
public string Url { get; set; }
/// <summary>
///日志类型
/// </summary>
[Display(Name ="日志类型")]
[MaxLength(100)]
[Column(TypeName="nvarchar(100)")]
public string LogType { get; set; }
/// <summary>
///响应状态
/// </summary>
[Display(Name ="响应状态")]
[Column(TypeName="int")]
public int? Success { get; set; }
/// <summary>
///时长
/// </summary>
[Display(Name ="时长")]
[Column(TypeName="int")]
public int? ElapsedTime { get; set; }
/// <summary>
///请求参数
/// </summary>
[Display(Name ="请求参数")]
[Column(TypeName="nvarchar(max)")]
public string RequestParameter { get; set; }
/// <summary>
///响应参数
/// </summary>
[Display(Name ="响应参数")]
[Column(TypeName="nvarchar(max)")]
public string ResponseParameter { get; set; }
/// <summary>
///异常信息
/// </summary>
[Display(Name ="异常信息")]
[Column(TypeName="nvarchar(max)")]
public string ExceptionInfo { get; set; }
/// <summary>
///用户IP
/// </summary>
[Display(Name ="用户IP")]
[MaxLength(200)]
[Column(TypeName="nvarchar(200)")]
public string UserIP { get; set; }
/// <summary>
///服务器IP
/// </summary>
[Display(Name ="服务器IP")]
[MaxLength(200)]
[Column(TypeName="nvarchar(200)")]
public string ServiceIP { get; set; }
/// <summary>
///浏览器类型
/// </summary>
[Display(Name ="浏览器类型")]
[MaxLength(400)]
[Column(TypeName="nvarchar(400)")]
public string BrowserType { get; set; }
/// <summary>
///用户ID
/// </summary>
[Display(Name ="用户ID")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string User_Id { get; set; }
/// <summary>
///角色ID
/// </summary>
[Display(Name ="角色ID")]
[MaxLength(50)]
[Column(TypeName="varchar(50)")]
public string Role_Id { get; set; }
/// <summary>
///结束时间
/// </summary>
[Display(Name ="结束时间")]
[Column(TypeName="datetime")]
public DateTime? EndDate { get; set; }
/// <summary>
///是否公开 用于给客户查看的
/// </summary>
[Display(Name = "是否公开")]
[Column(TypeName = "bit")]
public bool? PubType { get; set; }
}
}