package com.zt.plat.module.base.controller.admin.processinginfomationoperation.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 ProcessingInfomationOperationPageReqVO extends PageParam {

    @Schema(description = "前序工序ID", example = "14658")
    private Long previousOperationId;

    @Schema(description = "后续工序ID", example = "22110")
    private Long nextOperationId;

    @Schema(description = "工艺ID", example = "5773")
    private Long processingId;

    @Schema(description = "工序ID", example = "3001")
    private Long operationId;

    @Schema(description = "是否关键工序")
    private Integer isKey;

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

    @Schema(description = "后续工序编码")
    private String nextOperationCode;

    @Schema(description = "后续工序名称")
    private String nextOperationName;

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

}