package com.bcxin.risk.common.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 Administrator
 */
@Entity
@Table(name = "RISK_Regionalization")
@Inheritance(strategy = InheritanceType.JOINED)
@Data
@DynamicInsert(true)
@DynamicUpdate(true)
public class Regionalization extends BaseBean {

	private static final long serialVersionUID = 1L;

	private String name; //联系人

    private String address; //联系地址

    private String phone; //联系电话

    private Long area_id;  // 区域ID

    private Long city_id;  // 城市ID

    private Long province_id;  // 省份ID


}
