package com.kcim.dao.model.dto;

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

import javax.validation.constraints.NotNull;

@Data
@ApiModel("通用开始归集的入参")
public class StartDTO {

    @ApiModelProperty(name = "year",value = "年")
    @NotNull(message = "年不能为为空")
    private Integer year;

    @ApiModelProperty(name = "month",value = "月")
    @NotNull(message = "月不能为空")
    private Integer month;

}
