for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Gamer\Models;
use Support\Models\Base;
class PointType extends Base
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name',
'cpf',
'email',
'role_id'
];
protected $mappingProperties = array(
* User Info
'name' => [
'type' => 'string',
"analyzer" => "standard",
],
'cpf' => [
'email' => [
* Grupo de Usuário:
* 3 -> Usuário de Produtora
* Default: 3
'role_id' => [
);
public function points()
return $this->hasMany('Gamer\Models\Point', 'point_type_id', 'id');
}