package com.yuchen.saas.park.api.dto.fire.inspect;

import com.thinkunion.park.service.common.constant.GroupAction;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

/**
 * @author zhouhanwei
 * @since 2024-04-01
 */
@Data
public class FireInspectLocationSubmitReqDTO {

    @NotNull(groups = GroupAction.UpdateAction.class, message = "id不能为空")
    @Null(groups = GroupAction.InsertAction.class, message = "id必须为空")
    private Long id;
    /**
     * 项目id
     */
    @ApiModelProperty(name = "projectId", value = "项目id")
    @NotNull(message = "请选择项目")
    private Long projectId;
    /**
     * 巡检位置名称
     */
    @ApiModelProperty(name = "inspectLocationName", value = "巡检位置名称")
    @NotBlank(message = "巡检位置名称不能为空")
    private String inspectLocationName;
    /**
     * 空间id
     */
    @ApiModelProperty(name = "inspectSpaceId", value = "空间id")
    private Long inspectSpaceId;
    /**
     * 位置状态
     */
    @ApiModelProperty(name = "inspectState", value = "位置状态")
    private String inspectState;
    /**
     * 地址
     */
    @ApiModelProperty(name = "addressName", value = "地址")
    private String addressName;
    /**
     * 经度
     */
    @ApiModelProperty(name = "longitude", value = "经度")
    private String longitude;
    /**
     * 纬度
     */
    @ApiModelProperty(name = "latitude", value = "纬度")
    private String latitude;
    /**
     * 二维码地址
     */
    @ApiModelProperty(name = "qrCodeUrl", value = "二维码地址")
    private String qrCodeUrl;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;



}
