using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace YBEE.EQM.Core
{
///
/// 操作日志表
///
[Comment("操作日志表")]
public partial class SysLogOp : IEntity
{
///
/// 主键
///
[Comment("主键")]
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id { get; set; }
///
/// 名称
///
[Comment("名称")]
[StringLength(100)]
public string Name { get; set; }
///
/// 是否执行成功
///
[Comment("是否执行成功")]
public bool Success { get; set; }
///
/// 具体消息
///
[Comment("具体消息")]
public string Message { get; set; }
///
/// IP
///
[Comment("IP")]
[StringLength(20)]
public string Ip { get; set; }
///
/// 地址
///
[Comment("地址")]
[StringLength(1024)]
public string Location { get; set; }
///
/// 浏览器
///
[Comment("浏览器")]
[StringLength(100)]
public string Browser { get; set; }
///
/// 操作系统
///
[Comment("操作系统")]
[StringLength(100)]
public string Os { get; set; }
///
/// 请求地址
///
[Comment("请求地址")]
[StringLength(100)]
public string Url { get; set; }
///
/// 类名称
///
[Comment("类名称")]
[StringLength(100)]
public string ClassName { get; set; }
///
/// 方法名称
///
[Comment("方法名称")]
[StringLength(100)]
public string MethodName { get; set; }
///
/// 请求方式(GET POST PUT DELETE)
///
[Comment("请求方式")]
[StringLength(10)]
public string ReqMethod { get; set; }
///
/// 请求参数
///
[Comment("请求参数")]
public string Param { get; set; }
///
/// 返回结果
///
[Comment("返回结果")]
public string Result { get; set; }
///
/// 耗时(毫秒)
///
[Comment("耗时")]
public long ElapsedTime { get; set; }
///
/// 操作时间
///
[Comment("操作时间")]
public DateTime? OpTime { get; set; }
///
/// 操作人
///
[Comment("操作人")]
[StringLength(50)]
public string Account { get; set; }
}
}