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
@Table(name = "risk_org_region")
@Inheritance(strategy = InheritanceType.JOINED)
@Data
@DynamicInsert(true)
@DynamicUpdate(true)
public class OrgRegion extends BaseBean {

    private static final long serialVersionUID = 1L;

    private Long org_id;

    private Long region_id;

    private String region_level;

}
