Page MenuHomePhorge

GroupSetting.php
No OneTemporary

Authored By
Unknown
Size
632 B
Referenced Files
None
Subscribers
None

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
Fri, Apr 24, 10:19 AM (6 h, 49 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
65/8f/33304b078da695a6a75e343e89db
Default Alt Text
GroupSetting.php (632 B)

Event Timeline