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;

@Data
@Entity
@Table(name = "agent_hidden_point")
public class AgentHiddenPointTable extends BaseTable {
    /**
     * 代理ID
     */
    private Long agentId;
    /**
     * 返点对象
     */
    private String points;
    /**
     * 上级ID
     * 如果是一级代理，pId=0
     */
    private Long pid;

}
