package com.zhongshu.card.client.model.operLogs;

import com.zhongshu.card.client.model.base.SuperSearch;
import com.zhongshu.card.client.type.LoginType;
import com.zhongshu.card.client.type.LogsLevel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author TRX
 * @date 2024/5/29
 */
@Data
public class OperationLogsSearchParam extends SuperSearch {
    @Schema(description = "用户ID")
    private String uid;

    @Schema(description = "登录名")
    private String loginName;

    @Schema(description = "用户名称")
    private String userName;

    @Schema(description = "IP地址")
    private String ip;

    @Schema(description = "浏览器")
    private String ua;

    @Schema(description = "日志操作端类型")
    private LoginType loginType;

    @Schema(description = "日志级别，重要程度")
    private LogsLevel level;

    @Schema(description = "数据ID")
    private String dataId;

    @Schema(description = "日志内容")
    private String content;
}
