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

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - QHSE文件资料分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class QhseInfoPageReqVO extends PageParam {

    @Schema(description = "设备id", example = "18091")
    private Long deviceId;

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

    @Schema(description = "文件名称", example = "李四")
    private String filename;

    @Schema(description = "文件类型", example = "1")
    private String fileType;

    @Schema(description = "文件路径")
    private String filePath;

    @Schema(description = "备注", example = "随便")
    private String remark;

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

    @Schema(description = "类型id", example = "18744")
    private Long classId;

    @Schema(description = "文件大小")
    private String fileSize;

    @Schema(description = "设备编码")
    private String deviceCode;

    @Schema(description = "设备名称", example = "李四")
    private String deptName;

}