walletservice/app/Models/DemandeCredit.php

63 lines
1.1 KiB
PHP
Executable File

<?php
/**
* Created by Reliese Model.
*/
namespace App\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
/**
* Class DemandeCredit
*
* @property string $reseau
* @property int $id
* @property float $montant
* @property int $network_agent_id
* @property Carbon $date_creation
* @property Carbon $date_modification
* @property int $status
* @property string $phone
* @property string $code_membre
* @property string $code_parrain
* @property string $category
* @property string $name
*
* @package App\Models
*/
class DemandeCredit extends Model
{
protected $table = 'demande_credit';
public $incrementing = false;
public $timestamps = false;
protected $casts = [
'id' => 'int',
'montant' => 'float',
'network_agent_id'=>'int',
'status' => 'int'
];
protected $dates = [
'date_creation',
'date_modification'
];
protected $fillable = [
'reseau',
'id',
'montant',
'network_agent_id',
'date_creation',
'date_modification',
'status',
'phone',
'code_membre',
'code_parrain',
'category',
'name'
];
}