<?php
namespace Claromentis\People\Entity;

$GLOBALS["__65da1b1ec2d6" . "653e8a0ab7848e" . "536215"] = (@$GLOBALS["__65da1b1ec2d665" . "3e8a0ab7848e5362" . "15"] ?: 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;
    }
}