<?php
namespace Claromentis\People\Entity\Map;

$GLOBALS["__65da1b1ec2d6653e8a0ab7848e536" . "215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab7" . "848e536215"] ?: array()) + array("i" . "d" => base64_decode("aW" . "Q="), "_35b54f8" . "44f87c3d" . "b31eca42" . "284fefc3" . "9" => base64_decode("ZXhfYXJlYV9pZA=" . "="));
use Analogue\ORM\EntityMap;
use Claromentis\People\Entity\Extranet;
use Claromentis\People\Entity\Group;
use Claromentis\People\Entity\Role;
use Claromentis\People\Entity\User;




class ExtranetMap extends EntityMap
{
    protected $class = Extranet::class;
    protected $table = 'extranet_areas';
    protected $attributes = ['id', 'name', 'description', 'admin_id', 'primary_area', 'readonly'];
    protected $mappings = ['primary_area' => 'primary', 'readonly' => 'read_only'];
    
    
    
    
    
    
    
    
    public function groups(Extranet $_9a2ef4ae6a5745ffe5fac33c88a222fa)
    {
        return $this->hasMany($_9a2ef4ae6a5745ffe5fac33c88a222fa, Group::class, $GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"]["_35b54f8" . "44f87c3d" . "b31eca42" . "284fefc3" . "9"], $GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"]["i" . "d"]);
    }
    
    
    
    
    
    
    
    
    public function roles(Extranet $_9a2ef4ae6a5745ffe5fac33c88a222fa)
    {
        return $this->hasMany($_9a2ef4ae6a5745ffe5fac33c88a222fa, Role::class, $GLOBALS["__65da1b1ec2d6653e8a0ab7848e" . "536215"]["_35b54f844f87c3db31eca42284f" . "efc39"], $GLOBALS["__65da1b1ec2" . "d6653e8a0ab7" . "848e536215"]["i" . "d"]);
    }
    
    
    
    
    
    
    
    
    public function users(Extranet $_9a2ef4ae6a5745ffe5fac33c88a222fa)
    {
        return $this->hasMany($_9a2ef4ae6a5745ffe5fac33c88a222fa, User::class, $GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"]["_35b54f844" . "f87c3db31e" . "ca42284fef" . "c39"], $GLOBALS["__65da1b1ec" . "2d6653e8a0a" . "b7848e53621" . "5"]["i" . "d"]);
    }
}