47 lines
1.0 KiB
C#
47 lines
1.0 KiB
C#
namespace Domain.Admin.Admin.Param
|
|||
|
|
{
|
||
|
|
public class OperationLogQueryParam
|
||
|
|
{
|
||
|
|
public int PageIndex { get; set; } = 1;
|
||
|
|
|
||
|
|
public int PageSize { get; set; } = 20;
|
||
|
|
|
||
|
|
public string? AdminId { get; set; }
|
||
|
|
|
||
|
|
public string? AdminName { get; set; }
|
||
|
|
|
||
|
|
public int? Module { get; set; }
|
||
|
|
|
||
|
|
public DateTime? StartTime { get; set; }
|
||
|
|
|
||
|
|
public DateTime? EndTime { get; set; }
|
||
|
|
|
||
|
|
public int? Status { get; set; }
|
||
|
|
}
|
||
|
|
|
||
|
|
public class AddOperationLogParam
|
||
|
|
{
|
||
|
|
public string? AdminId { get; set; }
|
||
|
|
|
||
|
|
public string? AdminName { get; set; }
|
||
|
|
|
||
|
|
public int Module { get; set; }
|
||
|
|
|
||
|
|
public string? ActionType { get; set; }
|
||
|
|
|
||
|
|
public string? Description { get; set; }
|
||
|
|
|
||
|
|
public string? HttpMethod { get; set; }
|
||
|
|
|
||
|
|
public string? RequestPath { get; set; }
|
||
|
|
|
||
|
|
public string? RequestParams { get; set; }
|
||
|
|
|
||
|
|
public string? Response { get; set; }
|
||
|
|
|
||
|
|
public string? Ip { get; set; }
|
||
|
|
|
||
|
|
public int Status { get; set; } = 1;
|
||
|
|
}
|
||
|
|
}
|