Page MenuHomePhorge

WalletSetting.php
No OneTemporary

WalletSetting.php

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

File Metadata

Mime Type
text/x-php
Expires
Mon, Aug 25, 2:41 PM (22 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
214396
Default Alt Text
WalletSetting.php (640 B)

Event Timeline