package cn.iocoder.yudao.module.mes.controller.admin.baogongrecord.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
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 BaogongRecordPageReqVO extends PageParam {

    @Schema(description = "关联计划id", example = "3326")
    private Long planId;

    @Schema(description = "派工数量")
    private Long num;

    @Schema(description = "派工时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] baogongTime;

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

    @Schema(description = "报工人", requiredMode = Schema.RequiredMode.REQUIRED)
    private String creator;

    @Schema(description = "不合格数量")
    private Long noPassNum;

    @Schema(description = "原因")
    private String remark;
}