package com.junmp.jyzb.api.bean.query;

import com.junmp.v2.common.bean.request.BaseRequest;
import com.junmp.v2.common.bean.request.ValidationApi;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

@Data
//@EqualsAndHashCode(callSuper = false)
public class QueryOrgReq {
    private String orgCode;
    @NotNull(message = "组织机构不能为空",groups = {ValidationApi.detail.class})
    private Long orgId;
    private String currentOrg;
    private String orgName;
    private Long parentId;
    private Integer isDepartment;
    private Integer level;
    private Integer delFlag;
    private String dName;
}


