package com.xyw.console.asset.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

/** 文件用途（白话）：接收设备新增或编辑表单，包括设备字段、两张可选图片与单独移除图片的开关。 */
@Data
public class DeviceAssetSaveRequest {
  @NotBlank(message = "设备名称不能为空") private String deviceName;
  private Long userPersonId;
  @NotBlank(message = "请选择使用状态") private String userUsageStatus;
  @NotBlank(message = "请选择资产关联状态") private String assetRelationStatus;
  private MultipartFile imageAttachment1;
  private MultipartFile imageAttachment2;
  private Boolean removeImageAttachment1;
  private Boolean removeImageAttachment2;
}
