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:21:46
*/
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ControlRoomAddCmd extends Command {
    @ApiModelProperty(value = "业务主键ID", name = "roomId", required = true)
//    @NotEmpty(message = "业务主键ID不能为空")
    private String roomId;
    
    @ApiModelProperty(value = "消防控制室名称", name = "roomName", required = true)
    @NotEmpty(message = "消防控制室名称不能为空")
    private String roomName;
    
    @ApiModelProperty(value = "消防控制室状态(字典码)", name = "roomStatus", required = true)
//    @NotEmpty(message = "消防控制室状态(字典码)不能为空")
    private String roomStatus;

    @ApiModelProperty(value = "消防控制室状态名称")
    private String roomStatusName;
    
    @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;

    @ApiModelProperty(value = "人员信息")
    private List<ResourcePersonAddCmd> persons;
    
}

