for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Gewaer\Models;
class CustomFieldsValues extends AbstractModel
{
/**
*
* @var integer
*/
public $id;
public $custom_fields_id;
* @var string
public $label;
public $value;
public $is_default;
public $is_deleted;
public $created_at;
public $updated_at;
* Initialize method for model.
public function initialize()
$this->setSource('custom_fields_values');
$this->belongsTo(
'custom_fields_id',
'Gewaer\Models\CustomFields',
'id',
['alias' => 'fields']
);
}
* Returns table name mapped in the model.
* @return string
public function getSource(): string
return 'custom_fields_values';