package cn.iocoder.lyzsys.module.tjt.controller.admin.profit.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 ProjectProfitPageReqVO extends PageParam {

    @Schema(description = "项目名称，模糊匹配", example = "设计")
    private String projectName;

    @Schema(description = "是否签订合同", example = "true")
    private Boolean contractSignedFlag;

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

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

}
