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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 运行记录模板主新增/修改 Request VO")
@Data
public class IotOpeationModelSaveReqVO {

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

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

    @Schema(description = "所属组织", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    private String orgName;

    @Schema(description = "设备类别", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "设备类别不能为空")
    private String deviceType;

    @Schema(description = "设备部件", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "设备部件不能为空")
    private String deviceComponent;

    @Schema(description = "填写信息", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "填写信息不能为空")
    private String fillInfo;

    @Schema(description = "创建人", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    private String creName;

    @Schema(description = "创建日期", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime creDate;


}