package com.jwipc.supplier.dto;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * <p> </p>
 *
 * @author ZhangJie
 * @version 1.0
 * @since JDK 1.8
 */
@Data
public class SupplierPurchaseCategoryVersionCompareDTO {
    private Long id;
    /**
     * 主表id
     */
    private Long masterId;
    private Long changeVersionId;
    /**
     * 关联供应商id
     */
    private Long supplierId;
    /**
     * 供应商编码
     */
    private String supplierCode;
    /**
     * 供应商名称
     */
    private String supplierName;

    /**
     * 产品小类，关联t_product_group 编码
     */
    private String purchaseCategoryCodeOld;
    private String purchaseCategoryCode;
    /**
     * 物料小类名称
     */
    private String purchaseCategoryNameOld;
    private String purchaseCategoryName;
    /**
     * 支付方式
     */
    private String paymentTerms;
    private String paymentTermsOld;

    /**
     * 付款方式:数据字典（payment_way）
     */
    private String paymentMethod;
    private String paymentMethodOld;

    /**
     * 承兑方式:数据字典（supplier_accetp_deadline）
     */
    private String acceptanceMethod;
    private String acceptanceMethodOld;
    /**
     * 公司编码
     */
    private String companyCode;
    private String companyCodeOld;
    /**
     * 税率编码(字典表item_code)
     */
    private String taxCode;
    private String taxCodeOld;
    private Integer isFreeze;
    private Integer isFreezeOld;
    private String currencyCode;
    private String currencyCodeOld;
    private String controlSubject;
    private String controlSubjectOld;
    private String purchaseOrgCode;
    private String purchaseOrgCodeOld;
    private LocalDateTime effectiveTime;
    private LocalDateTime effectiveTimeOld;
    /**
     * 版本号
     */
    private Integer version;

    private Integer type;
}
