package com.jwipc.tender.dto;

import com.jwipc.aggregation.annotation.RelationAggregationField;
import com.jwipc.sys.client.FileClient;
import lombok.Data;

import java.io.Serial;
import java.time.LocalDateTime;

/**
 * <p> </p>
 *
 * @author ZhangJie
 * @version 1.0
 * @since JDK 1.8
 */
@Data
public class ToBeQuotedListDTO extends TenderBidListBaseDTO{
    @Serial
    private static final long serialVersionUID = -2564102565919702960L;
    private LocalDateTime endDay;
    private LocalDateTime startDay;
    private Long  submitDepositFileId;
    /**
     * 文件名称
     */
    @RelationAggregationField(masterIdField = "submitDepositFileId", relationIdField = "id", relationNameField = "fileName",
            relationClientClass = FileClient.class, relationMethod = "getFileInfos")
    private String  submitDepositFileName;
}
