# MorDataPermissionConfigQuery.java

    package cloud.wconnect.workperformance.pojo.query.mor;

    import lombok.AllArgsConstructor;
    import lombok.Builder;
    import lombok.Data;
    import lombok.NoArgsConstructor;
    import org.hibernate.validator.constraints.Range;

    /**
     * Query: mor 功能数据权限配置
     *
     * @author zc
     * @date 2023/11/22
     */
    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public class MorDataPermissionConfigQuery {

        /**
         * 当前页
         */
        private Integer page;

        /**
         * 每页显示条数
         */
        private Integer size;

        /**
         * 身份数据 id
         */
        private Integer identityId;

        /**
         * 身份类别（0：角色(Role)；1：用户组(UserGroup)；2：用户(User)）
         */
        @Range(min = 0, max = 2, message = "The identityType must be in [0:role; 1:userGroup; 2:user]")
        private Integer identityType;

        /**
         * 状态（0：审批通过(On)；1：无效(Invalid)；2：等待通过(WaitPass)）
         */
        @Range(min = 0, max = 2, message = "The status must be in [0:on; 1:invalid; 2:waitPass]")
        private Integer status;
    }