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-12-12 13:44:52
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FireCheckRecordPointUpdateCmd extends Command {
    @ApiModelProperty(value = "主键", name = "id", required = true)
    @NotNull(message = "主键不能为空")
    private Long id;
    @ApiModelProperty(value = "业务主键id", name = "fireRecordPointId", required = true)
    @NotEmpty(message = "业务主键id不能为空")
    private String fireRecordPointId;
    @ApiModelProperty(value = "企业id", name = "corpinfoId", required = true)
    @NotNull(message = "企业id不能为空")
    private Long corpinfoId;
    @ApiModelProperty(value = "检查表id", name = "fireCheckId", required = true)
    @NotEmpty(message = "检查表id不能为空")
    private String fireCheckId;
    @ApiModelProperty(value = "检查记录表id", name = "fireRecordId", required = true)
    @NotEmpty(message = "检查记录表id不能为空")
    private String fireRecordId;
    @ApiModelProperty(value = "是否检查过0已经检查1未检查，2已打回", name = "checkedFlag", required = true)
    @NotNull(message = "是否检查过0已经检查1未检查，2已打回不能为空")
    private Integer checkedFlag;
    @ApiModelProperty(value = "消防区域主键id", name = "fireRegionId", required = true)
    @NotEmpty(message = "消防区域主键id不能为空")
    private String fireRegionId;
    @ApiModelProperty(value = "消防区域名称", name = "fireRegionName", required = true)
    @NotEmpty(message = "消防区域名称不能为空")
    private String fireRegionName;
    @ApiModelProperty(value = "消防区域编码", name = "fireRegionCode", required = true)
    @NotEmpty(message = "消防区域编码不能为空")
    private String fireRegionCode;
    @ApiModelProperty(value = "消防点位id", name = "firePointId", required = true)
    @NotEmpty(message = "消防点位id不能为空")
    private String firePointId;
    @ApiModelProperty(value = "消防点位名称", name = "firePointName", required = true)
    @NotEmpty(message = "消防点位名称不能为空")
    private String firePointName;
    @ApiModelProperty(value = "消防点位编码", name = "firePointCode", required = true)
    @NotEmpty(message = "消防点位编码不能为空")
    private String firePointCode;
    @ApiModelProperty(value = "经度", name = "longitude", required = true)
    @NotEmpty(message = "经度不能为空")
    private String longitude;
    @ApiModelProperty(value = "纬度", name = "latitude", required = true)
    @NotEmpty(message = "纬度不能为空")
    private String latitude;
}

