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

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

import javax.persistence.*;
import java.util.Date;

/**
 * Created by max on 2020/5/12.
 */
@Data
@Entity
@Table(name = "agent_level")
public class AgentLevelTable extends BaseTable{

    private String name;

    private String enName;

    private String levelCode;

    private Integer valid;

    private Integer levelNum;
    /**
     * 是否允许有下级
     */
    private Integer validSub;

    private Long pid;

    private Long subId;

}
