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:35
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FireCheckRecordDeviceUpdateCmd {
    @ApiModelProperty(value = "主键", name = "id", required = true)
    @NotNull(message = "主键不能为空")
    private Long id;

    @ApiModelProperty(value = "是否检查过0已经检查1未检查，2已打回", name = "checkedFlag", required = true)
    @NotNull(message = "是否检查过0已经检查1未检查，2已打回不能为空")
    private Integer checkedFlag;

    @ApiModelProperty(value = "打回原因", name = "hitBackTheReason", required = true)
    @NotEmpty(message = "打回原因不能为空")
    private String hitBackTheReason;

}

