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

    @ApiModelProperty(name = "id",value = "成本项目id")
    @NotNull(message = "id不能为空")
    private Long id;

    @ApiModelProperty(name = "productName",value = "成本名称")
    @NotBlank(message = "成本名称不能为空")
    private String productName;

    @ApiModelProperty(name = "productCode",value = "成本科目代码")
    @NotBlank(message = "成本科目代码不能为空")
    private String productCode;

}
