using SqlSugar;
using Volo.Abp.Auditing;
using Volo.Abp.Domain.Entities;
using Yi.Framework.Rbac.Domain.Shared.OperLog;
namespace Yi.Framework.Rbac.Domain.Operlog
{
///
/// 操作日志表
///
[SugarTable("OperationLog")]
public class OperationLogEntity : Entity, ICreationAuditedObject
{
[SugarColumn(IsPrimaryKey = true)]
public override Guid Id { get; protected set; }
///
/// 操作模块
///
[SugarColumn(ColumnName = "Title")]
public string? Title { get; set; }
///
/// 操作类型
///
[SugarColumn(ColumnName = "OperType")]
public OperEnum 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", Length = 9999)]
public string? RequestResult { get; set; }
public DateTime CreationTime { get; set; }
public Guid? CreatorId { get; set; }
}
}