Changeset View
Changeset View
Standalone View
Standalone View
src/app/Wallet.php
Show All 21 Lines | |||||
* @property int $user_id Owner's identifier | * @property int $user_id Owner's identifier | ||||
*/ | */ | ||||
class Wallet extends Model | class Wallet extends Model | ||||
{ | { | ||||
use NullableFields; | use NullableFields; | ||||
use SettingsTrait; | use SettingsTrait; | ||||
use UuidStrKeyTrait; | use UuidStrKeyTrait; | ||||
/** @var bool Indicates that the model should be timestamped or not */ | |||||
public $timestamps = false; | public $timestamps = false; | ||||
/** @var array The attributes' default values */ | /** @var array The attributes' default values */ | ||||
protected $attributes = [ | protected $attributes = [ | ||||
'balance' => 0, | 'balance' => 0, | ||||
]; | ]; | ||||
/** @var array<int, string> The attributes that are mass assignable */ | /** @var array<int, string> The attributes that are mass assignable */ | ||||
▲ Show 20 Lines • Show All 454 Lines • Show Last 20 Lines |