package com.kcim.dao.model.dto;


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

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel("会计科目、成本对照入参")
public class AccountProductSaveDTO {

    @ApiModelProperty(name="id",value = "会计科目id")
    @NotNull(message = "会计科目id不能为空")
    private Long id;

    @ApiModelProperty(name="products",value = "成本项目id列表")
//    @NotEmpty(message = "成本项目id不能为空")
    private List<Long> products;
}
