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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
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 = "生产任务单做计划 VO")
@Data
@ToString(callSuper = true)
public class TaskPlanParam {

    @Schema(description = "任务id")
    private Long taskId;
    @Schema(description = "任务明细id")
    private Long taskDetailId;

    @Schema(description = "计划数")
    private int sizeOfPlan;
    @Schema(description = "计划产品数")
    private int productsOfPlan;
    @Schema(description = "需要计划的数")
    private Long planNumber ;

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


}