package com.sifang.modules.customer.entity;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author hongzq
 */
@Entity
@Table(name = "crm_customer_order_rel")
public class CrmCustomerOrderRel implements Serializable {

    private String id;
    private String customerEntryId;
    private String customerOrderId;

    @Id
    @GeneratedValue(generator = "idGenerator")
    @GenericGenerator(name = "idGenerator", strategy = "uuid")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCustomerEntryId() {
        return customerEntryId;
    }

    public void setCustomerEntryId(String customerEntryId) {
        this.customerEntryId = customerEntryId;
    }

    public String getCustomerOrderId() {
        return customerOrderId;
    }

    public void setCustomerOrderId(String customerOrderId) {
        this.customerOrderId = customerOrderId;
    }
}
