using System; using System.Collections.Generic; using System.Linq; using System.Text.Json.Serialization; using SqlSugar; namespace Yi.Framework.Model.Models { /// /// 操作日志表 /// [SugarTable("OperationLog")] public partial class OperationLogEntity:IBaseModelEntity { public OperationLogEntity() { this.CreateTime = DateTime.Now; } [JsonConverter(typeof(ValueToStringConverter))] [SugarColumn(ColumnName="Id" ,IsPrimaryKey = true )] public long Id { get; set; } /// /// 操作模块 /// [SugarColumn(ColumnName="Title" )] public string Title { get; set; } /// /// 操作类型 /// [SugarColumn(ColumnName="OperType" )] public int? OperType { get; set; } /// /// 请求方法 /// [SugarColumn(ColumnName="RequestMethod" )] public string RequestMethod { get; set; } /// /// 操作人员 /// [SugarColumn(ColumnName="OperUser" )] public string OperUser { get; set; } /// /// 操作Ip /// [SugarColumn(ColumnName="OperIp" )] public string OperIp { get; set; } /// /// 操作地点 /// [SugarColumn(ColumnName="OperLocation" )] public string OperLocation { get; set; } /// /// 操作方法 /// [SugarColumn(ColumnName="Method" )] public string Method { get; set; } /// /// 请求参数 /// [SugarColumn(ColumnName="RequestParam" )] public string RequestParam { get; set; } /// /// 请求结果 /// [SugarColumn(ColumnName="RequestResult" )] public string RequestResult { get; set; } /// /// 创建者 /// [SugarColumn(ColumnName="CreateUser" )] public long? CreateUser { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName="CreateTime" )] public DateTime? CreateTime { get; set; } /// /// 修改者 /// [SugarColumn(ColumnName="ModifyUser" )] public long? ModifyUser { get; set; } /// /// 修改时间 /// [SugarColumn(ColumnName="ModifyTime" )] public DateTime? ModifyTime { get; set; } /// /// 租户Id /// [SugarColumn(ColumnName="TenantId" )] public long? TenantId { get; set; } /// /// 排序字段 /// [SugarColumn(ColumnName="OrderNum" )] public int? OrderNum { get; set; } /// /// 描述 /// [SugarColumn(ColumnName="Remark" )] public string Remark { get; set; } /// /// 是否删除 /// [SugarColumn(ColumnName="IsDeleted" )] public bool? IsDeleted { get; set; } } }