using System;
using SqlSugar;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Admin.Core.Model.Sys
{
///
///操作日志记录实体类
///
[Table("SysOperLog")]
[SugarTable("SysOperLog", "admin_sqlite")]
public class SysOperLog
{
///
/// 日志主键
///
[Key]
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[Required]
public int OperID { get; set; }
///
/// 模块标题
///
public string Title { get; set; }
///
/// 业务类型(0其它 1新增 2修改 3删除)
///
public int? BusinessType { get; set; }
///
/// 方法名称
///
public string Method { get; set; }
///
/// 请求方式
///
public string RequestMethod { get; set; }
///
/// 操作类别(0其它 1后台用户 2手机端用户)
///
public int? OperatorType { get; set; }
///
/// 操作人员
///
public string OperName { get; set; }
///
/// 部门名称
///
public string DeptName { get; set; }
///
/// 请求URL
///
public string OperUrl { get; set; }
///
/// 主机地址
///
public string OperIP { get; set; }
///
/// 操作地点
///
public string OperLocation { get; set; }
///
/// 请求参数
///
public string OperParam { get; set; }
///
/// 返回参数
///
public string JsonResult { get; set; }
///
/// 操作状态(0正常 1异常)
///
public int? Status { get; set; }
///
/// 消息
///
public string Msg { get; set; }
///
/// 响应耗时(毫秒)
///
public string OPTimer { get; set; }
///
/// 操作时间
///
public DateTime? OperTime { get; set; }
}
}