using System;

namespace HoneyBox.Admin.Models.OperationLog;

/// <summary>
/// 操作日志查询请求
/// </summary>
public class OperationLogQueryRequest
{
    /// <summary>
    /// 页码，从1开始
    /// </summary>
    public int Page { get; set; } = 1;

    /// <summary>
    /// 每页数量
    /// </summary>
    public int PageSize { get; set; } = 20;

    /// <summary>
    /// 管理员ID
    /// </summary>
    public long? AdminUserId { get; set; }

    /// <summary>
    /// 用户名（模糊搜索）
    /// </summary>
    public string? Username { get; set; }

    /// <summary>
    /// 模块
    /// </summary>
    public string? Module { get; set; }

    /// <summary>
    /// 操作
    /// </summary>
    public string? Action { get; set; }

    /// <summary>
    /// 状态筛选
    /// </summary>
    public byte? Status { get; set; }

    /// <summary>
    /// 开始日期
    /// </summary>
    public DateTime? StartDate { get; set; }

    /// <summary>
    /// 结束日期
    /// </summary>
    public DateTime? EndDate { get; set; }
}
