package com.brframework.commonwebadmin.json.admin.adminuser;

import com.brframework.commoncms.annatotion.column.SelectColumn;
import com.brframework.commondb.annotation.param.ParamQuery;
import com.brframework.commondb.annotation.param.QueryExpression;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 操作审计
 *
 * @author xu
 * @date 2019/10/9 15:03
 */
@Data
@ApiModel
public class AdminOptionLogListParam {


    @ApiModelProperty(value = "状态", example = "OK")
    @ParamQuery(expression = QueryExpression.eq)
    @SelectColumn(options = {"OK,OK", "ERROR,ERROR"})
    String status;

    @ApiModelProperty(value = "登录名", example = "name")
    @ParamQuery(expression = QueryExpression.like)
    String username;

    @ApiModelProperty(value = "操作信息", example = "info")
    @ParamQuery(expression = QueryExpression.like)
    String info;

}
