38 lines
662 B
PHP
38 lines
662 B
PHP
<?php
|
|
|
|
/**
|
|
* Created by Reliese Model.
|
|
*/
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Collection;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* Class TypeIlinkTransaction
|
|
*
|
|
* @property int $id
|
|
* @property string $acteur
|
|
* @property string $nom
|
|
*
|
|
* @property Collection|WalletIlinkTransaction[] $wallet_ilink_transactions
|
|
*
|
|
* @package App\Models
|
|
*/
|
|
class TypeIlinkTransaction extends Model
|
|
{
|
|
protected $table = 'type_ilink_transaction';
|
|
public $timestamps = false;
|
|
|
|
protected $fillable = [
|
|
'acteur',
|
|
'nom'
|
|
];
|
|
|
|
public function wallet_ilink_transactions()
|
|
{
|
|
return $this->hasMany(WalletIlinkTransaction::class, 'type');
|
|
}
|
|
}
|