Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117752602
TenantSetting.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
663 B
Referenced Files
None
Subscribers
None
TenantSetting.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
rK kolab
Attached
Detach File
Event Timeline