<?php
namespace Claromentis\People\Entity;

$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab78" . "48e536215"] ?: 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;
    }
}