package com.ruoyi.info.collection.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 招投标信息查询DTO
 *
 * @author ruoyi
 * @date 2026-02-06
 */
@Data
@Schema(description = "招投标信息查询条件")
public class CcdiPurchaseTransactionQueryDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /** 项目名称 */
    @Schema(description = "项目名称")
    private String projectName;

    /** 标的物名称 */
    @Schema(description = "标的物名称")
    private String subjectName;

    /** 申请人姓名 */
    @Schema(description = "申请人姓名")
    private String applicantName;

    /** 申请人工号 */
    @Schema(description = "申请人工号")
    private String applicantId;

    /** 申请日期-开始 */
    @Schema(description = "申请日期-开始")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date applyDateStart;

    /** 申请日期-结束 */
    @Schema(description = "申请日期-结束")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date applyDateEnd;
}
