Page MenuHomePhorge

TenantSetting.php
No OneTemporary

Authored By
Unknown
Size
640 B
Referenced Files
None
Subscribers
None

TenantSetting.php

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
/**
* 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 array<int, string> The attributes that are mass assignable */
protected $fillable = ['tenant_id', 'key', 'value'];
/**
* The tenant to which this setting belongs.
*
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function tenant()
{
return $this->belongsTo(Tenant::class, 'tenant_id', 'id');
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Apr 5, 11:57 PM (1 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
90/a4/32f14ff223b558101d0a063de43f
Default Alt Text
TenantSetting.php (640 B)

Event Timeline