package com.kcim.dao.model.dto;

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

import javax.validation.constraints.NotNull;

/**
 * @author 李加喜
 * @Package com.imed.costaccount.model.dto
 * @date 2021-08-09 14:28
 */
@Data
@ApiModel("诊次/床日设置数据保存的实体类")
public class CostNumberBedSetSaveDto {
    @ApiModelProperty(name = "allocation",value = "分配方式 1按照收入比例分配 2 按照固定比例分配")
    @NotNull(message = "分配方式不能为空")
    private Integer allocation;

    @ApiModelProperty(name = "incomeType",value = "收入方式 1 门诊方式 2 住院方式")
    @NotNull(message = "收入方式不能为空")
    private Integer incomeType;

    @ApiModelProperty(name = "shareParamCode",value = "成本分摊参数代码")
    @NotNull(message = "成本分摊参数的代码不能为空")
    private String shareParamCode;

    @ApiModelProperty(name = "shareParamName",value = "成本分摊参数名称")
    @NotNull(message = "成本分摊参数的名称不能为空")
    private String shareParamName;

    @ApiModelProperty(name = "incomeFieldNum",value = "收入字段 对应报表的编号")
    @NotNull(message = "收入字段的编号不能为空")
    private Integer incomeFieldNum;

    @ApiModelProperty(name = "incomeFileName",value = "收入字段名称")
    private String incomeFileName;

    @ApiModelProperty(name = "costCorresponding",value = "成本对应 对应的是报表项目的编号")
    @NotNull(message = "成本对应的编号不能为空")
    private Integer costCorresponding;

    @ApiModelProperty(name = "costCorrespondingName",value = "成本对应名称")
    private String costCorrespondingName;
    /**
     * 收入报表类型
     */
    @NotNull(message = "收入报表类型不能为空")
    private Integer incomeFileType;
    /**
     * 成本对饮报表类型
     */
    @NotNull(message = "成本对应报表类型不能为空")
    private Integer costFileType;

}
