package cn.iocoder.yudao.module.pms.controller.admin.inspect.order.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 巡检工单新增/修改 Request VO")
@Data
public class IotInspectOrderSaveReqVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "30405")
    private Long id;

    @Schema(description = "巡检工单名", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "巡检工单名不能为空")
    private String inspectOrderTitle;

    @Schema(description = "巡检工单编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "巡检工单编码不能为空")
    private String inspectOrderCode;

    @Schema(description = "巡检工单状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "巡检工单状态不能为空")
    private String status;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "部门id", example = "27771")
    private Long deptId;

    @Schema(description = "设备id")
    private String deviceIds;

    @Schema(description = "理由")
    private String reason;
}
