package com.kcim.dao.model.dto;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@ApiModel("保存分摊参数值")
public class ShareParamValueSaveDTO {

    @ApiModelProperty(name = "date",value = "年月，yyyyMM")
    @NotBlank(message = "时间不为空")
    private String date;

    @ApiModelProperty(name = "shareParamCode",value = "分摊参数代码")
    @NotBlank(message = "分摊参数代码不为空")
    private String shareParamCode;

    @ApiModelProperty(name = "responsibilityCode",value = "责任中心代码")
    @NotBlank(message = "责任中心代码不为空")
    private String responsibilityCode;

    @ApiModelProperty(name = "valueNum",value = "数值")
    @NotNull(message = "数值不为空")
    private BigDecimal valueNum;

}
