package com.jwipc.tender.model.po;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
public class TenderDetailByIdPO implements Serializable {

    private Long id;
    private String contractCode;
    private String contractCompanyCode;
    private String contractCompanyName;
    private String contractPurchaseGroupCode;
    private String contractPurchaseGroup;
    private String contractApplyContent;
    private String files;
    private BigDecimal contractAmount;
    private String supplierId;
    private String supplierCode;
    private String supplierName;
    private String currency;
    private BigDecimal totalScore;
    private Integer stateTurned;
    private Long uuidKey;
    private Integer dataSources;
    private Integer dataSourcesId;
    private String dataSourcesNo;
    /**
     * 来源行Id（采购申请明细Id）t_purchase_apply_bill_detail
     */
    private Long sourceRowId;
    /**
     * 来源类型 1.采购申请
     */
    private Integer sourceType;

    private List<TenderDetailByIdDetailPO> items ;

    /**
     * 签约方公司
     */
    private String companyCode;

    /**
     * 物料名称
     */
    private String materialName;

    /**
     * 含税金额(原币种)
     */
    private BigDecimal detailSumAmount;

    /**
     * 发票类型
     */
    private String invoiceType;

    /**
     * 采购编码
     */
    private String purchaseBillCode;

    /**
     * 合同ID
     */
    private String contractId;

    /**
     * 创建人ID
     */
    private Long createId;
}
