Page MenuHomePhorge

TenantSetting.php
No OneTemporary

Authored By
Unknown
Size
663 B
Referenced Files
None
Subscribers
None

TenantSetting.php

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
/**
* A collection of settings for a Tenant.
*
* @property int $id
* @property string $key
* @property int $tenant_id
* @property string $value
*/
class TenantSetting extends Model
{
/** @var list<string> The attributes that are mass assignable */
protected $fillable = ['tenant_id', 'key', 'value'];
/**
* The tenant to which this setting belongs.
*
* @return BelongsTo<Tenant, $this>
*/
public function tenant()
{
return $this->belongsTo(Tenant::class, 'tenant_id', 'id');
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Apr 4, 4:23 AM (57 m, 27 s)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
4e/4a/509b9954a0c3bb83a60d5f0e1f39
Default Alt Text
TenantSetting.php (663 B)

Event Timeline