Page MenuHomePhorge

UserSetting.php
No OneTemporary

Authored By
Unknown
Size
537 B
Referenced Files
None
Subscribers
None

UserSetting.php

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
/**
* A collection of settings for a User.
*
* @property int $id
* @property int $user_id
* @property string $key
* @property string $value
*/
class UserSetting extends Model
{
protected $fillable = [
'key', 'value'
];
/**
* The user to which this setting belongs.
*
* @return \App\User
*/
public function user()
{
return $this->belongsTo('\App\User', 'user_id' /* local */, 'id' /* remote */);
}
}

File Metadata

Mime Type
text/x-php
Expires
Fri, Apr 24, 2:18 PM (1 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ad/0d/6671c791e339751a8a96a052583f
Default Alt Text
UserSetting.php (537 B)

Event Timeline