package com.kcim.dao.model.dto;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("成本会计入参")
public class ProductAccountDTO {

    @NotNull(message = "id不能为空")
    private Long id;

    @NotBlank(message = "成本名称不能为空")
    private String productName;
}
