package cn.iocoder.yudao.module.mes.controller.admin.orgworker.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 java.util.List;

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 OrgWorkerPageReqVO extends PageParam {

    @Schema(description = "工位id", example = "4727")
    private Long orgId;
    @Schema(description = "工位id", example = "4727")
    private List<Long> orgIds;

    @Schema(description = "工作日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] workDate;

    @Schema(description = "工位类型", example = "2")
    private String orgType;

    @Schema(description = "班别", example = "2")
    private Integer groupType;

    @Schema(description = "工人id", example = "2095")
    private Long workerId;
    @Schema(description = "工人id", example = "4727")
    private List<Long> workerIds;

    @Schema(description = "报工单id", example = "5496")
    private Long reportId;

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

}