package com.chushang.system.entity.dto;

import com.chushang.common.mybatis.page.CommonParam;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Objects;

/**
 * @author by zhaowenyuan create 2022/8/22 11:13
 * 检索 角色
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ListRoleDTO extends CommonParam {
    private String roleName;
    private String roleKey;
    private Integer status;
    private Params params;
    private Integer page;  // 当前页码
    private Integer limit; // 每页条数

    @Data
    @EqualsAndHashCode
    public static class Params {
        private String beginTime;
        private String endTime;

    }
}
