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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - SOC卡汇总新增/修改 Request VO")
@Data
public class IotSocSummarySaveReqVO {

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

    @Schema(description = "项目部")
    private String project;

    @Schema(description = "观察日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "观察日期不能为空")
    private LocalDateTime observationDate;

    @Schema(description = "soc类型", requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotNull(message = "soc类型不能为空")
    private String socClass;

    @Schema(description = "类型名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
//    @NotEmpty(message = "类型名称不能为空")
    private String className;

    @Schema(description = "姓名", example = "王五")
    private String userName;

    @Schema(description = "岗位")
    private String post;

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

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

    @Schema(description = "队伍名称", example = "王五")
    private String deptName;

    private List<String> socClasses;
}