package com.zt.plat.module.base.controller.admin.plandate.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 = "管理后台 - 计划数据分页 Request VO")
@Data
public class PlanDatePageReqVO extends PageParam {

    @Schema(description = "计划名称", example = "王五")
    private String planName;

    @Schema(description = "计划编码")
    private String planCoding;

    @Schema(description = "父级ID", example = "6059")
    private Long parentId;

    @Schema(description = "年份")
    private String year;

    @Schema(description = "初始值")
    private BigDecimal initialValue;

    @Schema(description = "平均值")
    private BigDecimal averageValue;

    @Schema(description = "合计值")
    private BigDecimal sumValue;

    @Schema(description = "一月")
    private BigDecimal january;

    @Schema(description = "二月")
    private BigDecimal february;

    @Schema(description = "三月")
    private BigDecimal march;

    @Schema(description = "四月")
    private BigDecimal april;

    @Schema(description = "五月")
    private BigDecimal may;

    @Schema(description = "六月")
    private BigDecimal june;

    @Schema(description = "七月")
    private BigDecimal july;

    @Schema(description = "八月")
    private BigDecimal august;

    @Schema(description = "九月")
    private BigDecimal september;

    @Schema(description = "十月")
    private BigDecimal october;

    @Schema(description = "十一月")
    private BigDecimal november;

    @Schema(description = "十二月")
    private BigDecimal december;

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

}