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

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

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;


@Data
public class TjOrgCountReq extends BaseRequest {
    //组织机构
    @NotNull(message = "组织机构不能为空",groups = {detail.class,list.class})
    private Long orgId;
    private List<String> typeIdsList;
    private List<String> sizeNameList;
    private Integer year;
    private List<Integer> monthList;

    private Boolean removeEmpty;
    private String typeParentId;
    private Integer levelNum;

    private String order;
    private String column;

    private Integer level;

    private String startTime;
    private String endTime;

    //本级0，本级及下级1
    @NotNull(message = "查询条件维度不能为空",groups = {edit.class})
    private int levelType;
    @NotNull(message = "查询条件组织机构信息不能为空",groups = {edit.class})
    private String findCode;

    private String orgCode;
}