Page MenuHomePhorge

GroupSetting.php
No OneTemporary

GroupSetting.php

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

File Metadata

Mime Type
text/x-php
Expires
Mon, Aug 25, 3:27 PM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
217723
Default Alt Text
GroupSetting.php (632 B)

Event Timeline