Page MenuHomePhorge

TenantSetting.php
No OneTemporary

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
Thu, Nov 20, 5:24 PM (21 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
387241
Default Alt Text
TenantSetting.php (640 B)

Event Timeline