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 BidSecurityDepositListDTO extends TenderBidListBaseDTO {
    @Serial
    private static final long serialVersionUID = -7635405846929974811L;
    private Integer securityDepositStatus;
    private LocalDateTime endDay;
    private Long  submitDepositFileId;
    /**
     * 文件名称
     */
    @RelationAggregationField(masterIdField = "submitDepositFileId", relationIdField = "id", relationNameField = "fileName",
            relationClientClass = FileClient.class, relationMethod = "getFileInfos")
    private String  submitDepositFileName;
}
