package com.zt.plat.module.qms.business.config.controller.vo;

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

@Schema(description = "管理后台 - 荧光分析线新增/修改 Request VO")
@Data
public class ConfigXRFLineSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10711")
    private Long id;

    @Schema(description = "设备编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "设备编号不能为空")
    private String deviceNo;

    @Schema(description = "荧光线名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "荧光线名称不能为空")
    private String lineName;

    @Schema(description = "是否启用,0、未启用；1、启用；")
    private Integer isUse;

    @Schema(description = "连接字符串")
    private String connectString;

    @Schema(description = "数据源类型,（1：rdb,2：mdb）", example = "1")
    private Integer dataSourceType;

    @Schema(description = "末次同步数据时间")
    private LocalDateTime lastSynchronousDataTime;

    @Schema(description = "末次检查数据时间")
    private LocalDateTime lastCheckDataTime;

    @Schema(description = "所属部门")
    private String systemDepartmentCode;

    @Schema(description = "备注")
    private String remark;

}