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.*;
import java.util.List;

/**
* web-client
* @Author makejava
* @Date 2026-01-21 17:22:16
*/
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PumpRoomUpdateCmd extends Command {
    @ApiModelProperty(value = "主键", name = "id", required = true)
    @NotNull(message = "主键不能为空")
    private Long id;
    @ApiModelProperty(value = "业务主键ID", name = "pumpRoomId", required = true)
    @NotEmpty(message = "业务主键ID不能为空")
    private String pumpRoomId;
    @ApiModelProperty(value = "消防泵房名称", name = "pumpRoomName", required = true)
    @NotEmpty(message = "消防泵房名称不能为空")
    private String pumpRoomName;
    @ApiModelProperty(value = "消防泵房状态(字典码)", name = "pumpRoomStatus", required = true)
//    @NotEmpty(message = "消防泵房状态(字典码)不能为空")
    private String pumpRoomStatus;
    @ApiModelProperty(value = "负责人", name = "principalName", required = true)
//    @NotEmpty(message = "负责人不能为空")
    private String principalName;
    @ApiModelProperty(value = "负责人手机号", name = "principalPhone", required = true)
//    @NotEmpty(message = "负责人手机号不能为空")
    private String principalPhone;
    @ApiModelProperty(value = "经度", name = "lng", required = true)
//    @NotNull(message = "经度不能为空")
    private Double lng;
    @ApiModelProperty(value = "纬度", name = "lat", required = true)
//    @NotNull(message = "纬度不能为空")
    private Double lat;

    @ApiModelProperty(value = "设备信息")
    private List<ResourceDeviceAddCmd> devices;
}

