package com.kcim.dao.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;

/**
 * @author 李加喜
 * @Package com.imed.costaccount.model.dto
 * @date 2021-08-03 9:51
 */
@Data
@ApiModel("收入归集设置修改的对应")
public class CostIncomeGroupSetEditDto {

    @ApiModelProperty(name = "id",value = "收入归集设置的原始Id")
    @NotNull(message = "原始Id不能为空")
    private Long id;

    @ApiModelProperty(name = "openDepartmentStatus", value = "开单科室的状态 1 收入中心  2 成本中心")
    @NotNull(message = "开单科室状态不能为空")
    private Integer openDepartmentStatus;

    @ApiModelProperty(name = "openDepartmentProportion", value = "开单科室的比例")
    @NotNull(message = "开单科室比例不能为空")
    @Max(100L)
    private Integer openDepartmentProportion;

    @ApiModelProperty(name = "startDepartmentStatus", value = "执行科室状态 1 收入中心 2 成本中心")
    @NotNull(message = "执行科室状态不能为空")
    private Integer startDepartmentStatus;

    @ApiModelProperty(name = "startDepartmentStatus", value = "执行科室的比例")
    @NotNull(message = "执行科室状态不能为空")
    @Max(100L)
    private Integer startDepartmentProportion;

    @ApiModelProperty(name = "responsibilityCodes", value = "责任中心的代码")
    private String responsibilityCodes;
}
