package com.huigou.topsun.sap.purchase.domain;

import javax.persistence.*;

import com.huigou.data.domain.model.FlowBillAbstractEntity;
import lombok.Data;

import java.util.List;

/**
 * SAP采购申请
 * @TableName sap_purchase
 */
@Table(name="sap_purchase")
@Entity
@Data
public class SapPurchase extends FlowBillAbstractEntity {

    /**
     * pr类型
     */
    @Column(name = "BSART")
    private String bsart;

    /**
     * 采购申请编号
     */
    @Column(name = "BANFN")
    private String banfn;

    private static final long serialVersionUID = 1L;

    @Override
    protected String getCodeRuleId() {
        return "sapPurchase";
    }
}