Page MenuHomePhorge

ResourceSetting.php
No OneTemporary

Authored By
Unknown
Size
656 B
Referenced Files
None
Subscribers
None

ResourceSetting.php

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

File Metadata

Mime Type
text/x-php
Expires
Fri, Apr 24, 1:46 PM (3 d, 6 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
5b/0b/e434d9760f079ff6c8d1192a5009
Default Alt Text
ResourceSetting.php (656 B)

Event Timeline