package com.cf.imes.module.executor.controller.admin.process.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.cf.imes.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.cf.imes.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 OrderProcessPageReqVO extends PageParam {

    @Schema(description = "生产单号")
    private Long orderId;

    @Schema(description = "工序名", example = "张三")
    private String name;

    @Schema(description = "工序组 ID", example = "4356")
    private Long groupId;

    @Schema(description = "工序状态，0未加工，1已加工", example = "2")
    private Boolean status;

    @Schema(description = "板材大小")
    private Double size;

    @Schema(description = "下一工序 ID", example = "24046")
    private Long nextStepId;

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

}