package com.zcloud.zcGbsServicer.dto;

import com.alibaba.cola.dto.Command;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import javax.validation.constraints.*;

/**
* web-client
* @Author makejava
* @Date 2026-01-21 17:23:50
*/
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WaterSourceUpdateCmd extends Command {
    @ApiModelProperty(value = "主键", name = "id", required = true)
    @NotNull(message = "主键不能为空")
    private Long id;
    @ApiModelProperty(value = "业务主键ID", name = "waterSourceId", required = true)
//    @NotEmpty(message = "业务主键ID不能为空")
    private String waterSourceId;
    @ApiModelProperty(value = "消防水源名称", name = "waterSourceName", required = true)
    @NotEmpty(message = "消防水源名称不能为空")
    private String waterSourceName;
    @ApiModelProperty(value = "消防水源状态(字典码)", name = "waterSourceStatus", required = true)
//    @NotEmpty(message = "消防水源状态(字典码)不能为空")
    private String waterSourceStatus;
    @ApiModelProperty(value = "所属单位或部门", name = "belongOrgDept", required = true)
//    @NotEmpty(message = "所属单位或部门不能为空")
    private String belongOrgDept;
    @ApiModelProperty(value = "经度", name = "lng", required = true)
//    @NotNull(message = "经度不能为空")
    private Double lng;
    @ApiModelProperty(value = "纬度", name = "lat", required = true)
//    @NotNull(message = "纬度不能为空")
    private Double lat;
    @ApiModelProperty(value = "水源位置", name = "waterLocation", required = true)
//    @NotEmpty(message = "水源位置不能为空")
    private String waterLocation;
    @ApiModelProperty(value = "接口形式", name = "interfaceForm", required = true)
//    @NotEmpty(message = "接口形式不能为空")
    private String interfaceForm;
    @ApiModelProperty(value = "水源类型", name = "waterType", required = true)
//    @NotEmpty(message = "水源类型不能为空")
    private String waterType;
    @ApiModelProperty(value = "水源编号", name = "waterCode", required = true)
//    @NotEmpty(message = "水源编号不能为空")
    private String waterCode;
    @ApiModelProperty(value = "吸水口规格", name = "suctionSpec", required = true)
//    @NotEmpty(message = "吸水口规格不能为空")
    private String suctionSpec;
    @ApiModelProperty(value = "水源容量", name = "capacity", required = true)
//    @NotEmpty(message = "水源容量不能为空")
    private String capacity;
    @ApiModelProperty(value = "供水能力", name = "supplyAbility", required = true)
//    @NotEmpty(message = "供水能力不能为空")
    private String supplyAbility;
    @ApiModelProperty(value = "设备清单", name = "equipmentList", required = true)
//    @NotEmpty(message = "设备清单不能为空")
    private String equipmentList;
}

