walletservice/app/Models/AgentPlus.php

92 lines
1.6 KiB
PHP
Executable File

<?php
/**
* Created by Reliese Model.
*/
namespace App\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
/**
* Class AgentPlus
*
* @property int $id
* @property string $uid
* @property string $firstname
* @property string $adresse
* @property string $lastname
* @property string $email
* @property float $longitude
* @property float $latitude
* @property string $phone
* @property int $active
* @property Carbon $created
* @property Carbon $openHours
* @property Carbon $closeHours
* @property float $solde
* @property int $etat
* @property string $network
* @property string $country
* @property string $code_parrain
* @property string $category
* @property string $code_membre
* @property int $number_geoBysuper
* @property int $network_id
* @property string $code_dial
* @property string $transactionNumber
*
* @package App\Models
*/
class AgentPlus extends Model
{
protected $table = 'agent_plus';
public $incrementing = false;
public $timestamps = false;
protected $casts = [
'id' => 'int',
'longitude' => 'float',
'latitude' => 'float',
'active' => 'int',
'solde' => 'float',
'etat' => 'int',
'number_geoBysuper' => 'int',
'network_id' => 'int'
];
protected $dates = [
'created',
'openHours',
'closeHours'
];
protected $fillable = [
'id',
'uid',
'firstname',
'adresse',
'lastname',
'email',
'longitude',
'latitude',
'phone',
'active',
'created',
'openHours',
'closeHours',
'solde',
'etat',
'network',
'country',
'code_parrain',
'category',
'code_membre',
'number_geoBysuper',
'network_id',
'code_dial',
'transactionNumber'
];
}