package com.kcim.dao.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel("报表关系编辑对象")
public class ReportRelationDTO {

    @ApiModelProperty(name = "reportId",value = "报表id")
    @NotNull(message = "报表id不为空")
    private Long reportId;

    @ApiModelProperty(name = "relation",value = "1.对应会计科目设置，2.对应分摊参数设置,3.责任中心")
    @NotNull(message = "报表项目关联关系不能为空")
    private Integer relation;

    private List<String> relationCodes;

    private Integer reportType;

}
