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

    @ApiModelProperty("工程ID")
    private String id;

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

    @ApiModelProperty("省")
    private String province;

    @ApiModelProperty("市")
    private String city;

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