package com.zt.plat.module.qms.resource.device.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 DeviceApplyDetailPageReqVO extends PageParam {

    @Schema(description = "父ID", example = "12485")
    private Long applyId;

    @Schema(description = "设备id", example = "140")
    private Long deviceInfomationId;

    @Schema(description = "设备借用明细id", example = "16899")
    private Long deviceBorrowDetailId;

    @Schema(description = "表单数据,表单数据")
    private String formData;

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

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

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

    //扩展字段
    @Schema(description = "设备id列表")
    private List<Long> deviceInfoIdList;
}