package com.zt.plat.module.qms.resource.device.controller.vo;

import lombok.*;
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 DeviceUseRecordDetailPageReqVO extends PageParam {

    @Schema(description = "使用记录ID", example = "14073")
    private Long parentId;

    @Schema(description = "任务单编号")
    private String taskNo;

    @Schema(description = "任务单ID", example = "71")
    private Long taskId;

    @Schema(description = "样品名称", example = "王五")
    private String sampleName;

    @Schema(description = "样品编号")
    private String sampleCode;

    @Schema(description = "明细数据类型")
    private String detailType;

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

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

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

}