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

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.zt.plat.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 荧光分析线分页 Request VO")
@Data
public class ConfigXRFLinePageReqVO extends PageParam {

    @Schema(description = "设备编号")
    private String deviceNo;

    @Schema(description = "荧光线名称", example = "芋艿")
    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 = "末次同步数据时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] lastSynchronousDataTime;

    @Schema(description = "末次检查数据时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] lastCheckDataTime;

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

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

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

}