package cn.iocoder.lyzsys.module.tjt.controller.admin.planning.vo;

import cn.iocoder.lyzsys.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.lyzsys.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 合约规划分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
public class ProjectPlanningPageReqVO extends PageParam {

    @Schema(description = "项目 ID", example = "1")
    private Long projectId;

    @Schema(description = "归属类型", example = "专业所")
    private String ownershipType;

    @Schema(description = "产值计算方式", example = "指导价法")
    private String calculationMethod;

    @Schema(description = "项目任务包，模糊匹配", example = "建筑")
    private String planningContent;

    @Schema(description = "开始年度", example = "2026")
    private Integer planningStartYear;

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

}
