package com.njcn.gather.tool.addledger.pojo.param;

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

import javax.validation.constraints.NotBlank;

/**
 * 项目保存参数。
 */
@Data
@ApiModel("项目保存参数")
public class AddLedgerProjectSaveParam {

    @ApiModelProperty("项目ID")
    private String id;

    @ApiModelProperty("父级工程ID")
    private String engineeringId;

    @ApiModelProperty(value = "项目名称", required = true)
    @NotBlank(message = "项目名称不能为空")
    private String name;

    @ApiModelProperty("相对位置")
    private String area;

    @ApiModelProperty("项目描述")
    private String description;
}
