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 ShareParamValueEditDTO {

    @ApiModelProperty(name = "id",value = "主键")
    @NotNull(message = "主键id不能为空")
    private Long id;

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

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

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

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