<?php
namespace Claromentis\People\Entity;

$GLOBALS["__65da1b1ec2d6653e8a0a" . "b7848e536215"] = (@$GLOBALS["__65da1b1ec2d" . "6653e8a0ab784" . "8e536215"] ?: array()) + array();
use Analogue\ORM\Entity;
use Analogue\ORM\EntityCollection;
use Claromentis\Core\ORM\Behaviors\Casts;

















class Extranet extends Entity
{
    use Casts;
    protected $casts = ['id' => 'int', 'name' => 'string', 'description' => 'string', 'admin_id' => 'int', 'primary' => 'bool', 'default_skin' => 'int', 'read_only' => 'bool'];
    protected $nullable = ['name', 'description', 'admin_id', 'logo_file'];
    protected $hidden = ['default_skin', 'logo_file'];
    
    
    
    
    
    
    public function isPrimary() : bool
    {
        return $this->primary;
    }
    
    
    
    
    
    
    public function isReadOnly() : bool
    {
        return $this->read_only;
    }
}