package com.crm.rely.backend.core.pojo.table;

import com.crm.rely.backend.core.pojo.BaseTable;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by max on 2020/5/1.
 */
@Data
@Entity
@Table(name = "user_referral")
public class UserReferralTable extends BaseTable {

    /**
     * 推荐人id
     */
    private Long referralUserId;

    /**
     * 推荐码
     */
    private String referralCode;

    private String referralName;

    private String callingCode;

    private String phoneNumber;

    private String email;

    private String referralDesc;

    private Integer referralNum;

    private Integer referralSuccessNum;

}
