package com.zcloud.fire.check.dto;

import com.alibaba.cola.dto.Command;
import com.zcloud.gbscommon.zcloudhidden.request.HiddenAddCmd;
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-12-12 13:44:34
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FireCheckRecordDeviceAddCmd  {
    @ApiModelProperty(value = "主键", name = "id")
    private Long id;

    @ApiModelProperty(value = "业务主键id")
    private String fireRecordDeviceId;

    //业务主键id
    @ApiModelProperty(value = "消防设备id")
    @NotEmpty(message = "消防设备不能为空")
    private String fireDeviceId;

    @ApiModelProperty(value = "是否检查过0已经检查1未检查，2已打回", name = "checkedFlag")
    private Integer checkedFlag;

    @ApiModelProperty(value = "0合格1不合格", name = "normalFlag", required = true)
    @NotNull(message = "0合格1不合格不能为空")
    private Integer normalFlag;

    @ApiModelProperty(value = "经度", name = "longitude", required = true)
    @NotEmpty(message = "经度不能为空")
    private String longitude;

    @ApiModelProperty(value = "纬度", name = "latitude", required = true)
    @NotEmpty(message = "纬度不能为空")
    private String latitude;

    //隐患信息
    @ApiModelProperty(value = "检查项隐患信息", name = "checkRecordHiddenAddCmd")
    private HiddenAddCmd hiddenAddCmd;
}

