Changeset View
Changeset View
Standalone View
Standalone View
src/app/Tenant.php
<?php | <?php | ||||
namespace App; | namespace App; | ||||
use Illuminate\Database\Eloquent\Model; | use Illuminate\Database\Eloquent\Model; | ||||
/** | /** | ||||
* The eloquent definition of a Tenant. | * The eloquent definition of a Tenant. | ||||
* | * | ||||
* @property int $id | * @property int $id | ||||
* @property string $title | * @property string $title | ||||
*/ | */ | ||||
class Tenant extends Model | class Tenant extends Model | ||||
{ | { | ||||
protected $fillable = [ | protected $fillable = [ | ||||
'id', | |||||
'title', | 'title', | ||||
]; | ]; | ||||
protected $keyType = 'bigint'; | protected $keyType = 'bigint'; | ||||
/** | /** | ||||
* Discounts assigned to this tenant. | * Discounts assigned to this tenant. | ||||
* | * | ||||
Show All 29 Lines |