package cn.iocoder.yudao.module.mes.controller.admin.moldrecord.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 = "管理后台 - 模具维保分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class MoldRecordPageReqVO extends PageParam {
    /**
     * 编码
     */
    @Schema(description = "单号")
    private String code;
    @Schema(description = "流程ID")
    private String flowCode;

    @Schema(description = "模具型号ID", example = "17427")
    private Long brandId;

    @Schema(description = "模具ID", example = "21232")
    private Long moldId;

    @Schema(description = "前模具ID", example = "23487")
    private Long oldMoldId;

    @Schema(description = "机台ID", example = "1825")
    private Long machineId;

    @Schema(description = "负责人ID", example = "27306")
    private Long userId;

    @Schema(description = "单据类型", example = "2")
    private String recordType;

    @Schema(description = "状态", example = "2")
    private String recordStatus;

    @Schema(description = "备注", example = "你猜")
    private String remark;

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

    @Schema(description = "开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] startTime;

    @Schema(description = "结束时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] endTime;
}