package com.bcxin.risk.contractor.domain;

import com.bcxin.risk.base.domain.BaseBean;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;


/**
 * 推送
 * @author luopeng
 *
 */
@Entity
@Table(name = "RISK_Invitation")
@Inheritance(strategy = InheritanceType.JOINED)
@Data
@DynamicInsert(true)
@DynamicUpdate(true)
public class Invitation extends BaseBean {

    private static final long serialVersionUID = 1L;

    private String companyName; //公司名称

    private String companyPhone; //公司联系方式

    private String companyType; //公司类型

    private String flag; //公司是否应邀注册

    private Long inviterId; //邀请方公司ID




}