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;


@Data
@ApiModel("成本分摊参数值复制入参")
public class CopyShareParamValueDTO {

    @ApiModelProperty(name = "fromDate",value="复制的年月yyyyMM")
    @NotBlank(message = "复制的年月不能为空")
    private String fromDate;

    @ApiModelProperty(name = "toDate",value="复制到的年月yyyyMM")
    @NotBlank(message = "复制到的年月不能为空")
    private String toDate;

    @ApiModelProperty(name = "dataSourceType",value="数据来源类型 0.手动输入，1.文件导入，2.全部")
    @NotNull(message = "复制到的年月不能为空")
    private Integer dataSourceType;

}
