package com.zcloud.fire.check.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.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * web-client
 *
 * @Author zhaokai
 * @Date 2025-11-26 10:12:55
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FirePointUpdateCmd extends Command {
    @ApiModelProperty(value = "主键", name = "id", required = true)
    @NotNull(message = "主键不能为空")
    private Long id;

    @ApiModelProperty(value = "消防区域id", name = "fireRegionId", required = true)
    @NotEmpty(message = "消防区域id不能为空")
    private String fireRegionId;
    @ApiModelProperty(value = "消防点位名称", name = "firePointName", required = true)
    @NotEmpty(message = "消防点位名称不能为空")
    private String firePointName;
    @ApiModelProperty(value = "消防点位编码", name = "firePointCode", required = true)
    @NotEmpty(message = "消防点位编码不能为空")
    private String firePointCode;
    @ApiModelProperty(value = "部门id", name = "departmentId", required = true)
    @NotNull(message = "部门id不能为空")
    private Long departmentId;
    @ApiModelProperty(value = "负责人", name = "userId", required = true)
    @NotNull(message = "负责人不能为空")
    private Long userId;
    @ApiModelProperty(value = "经度", name = "longitude")
    private String longitude;
    @ApiModelProperty(value = "纬度", name = "latitude")
    private String latitude;
    @ApiModelProperty(value = "是否开启nfc,0否，1是", name = "nfcFlag")
    private Integer nfcFlag;
}

