package com.zt.plat.module.base.controller.admin.erpmonthproductiveplancheck.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.zt.plat.framework.common.pojo.PageParam;
import java.math.BigDecimal;
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 = "管理后台 - ERP月度产品计划核对明细分页 Request VO")
@Data
public class ErpMonthProductivePlanCheckDetailPageReqVO extends PageParam {

    @Schema(description = "日期（格式：YYYY-MM-DD）")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String[] date;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "值")
    private BigDecimal value;

    @Schema(description = "主数据ID（关联主表ID）", example = "3745")
    private Long mainId;

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

}