package org.xyzh.api.bidding.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.xyzh.common.dto.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 招标文档DTO
 * 用于创建和更新招标文档
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "招标文档DTO")
public class BiddingDocumentDTO extends BaseDTO {
    private static final long serialVersionUID = 1L;
    
    @Schema(description = "文档ID（更新时需要）")
    private String docId;
    
    @Schema(description = "所属项目ID")
    private String projectId;
    
    @Schema(description = "文档类型：tender-招标文件/technical-技术标/commercial-商务标/clarification-澄清文件/other-其他")
    private String docType;
    
    @Schema(description = "文档名称")
    private String docName;
    
    @Schema(description = "关联文件ID")
    private String fileId;
    
    @Schema(description = "文件路径")
    private String filePath;
    
    @Schema(description = "文件大小")
    private Long fileSize;
    
    @Schema(description = "MIME类型")
    private String mimeType;
    
    @Schema(description = "版本号")
    private Integer version;
    
    @Schema(description = "语言")
    private String language;
}
