walletservice/app/Models/AgentsPlus.php

81 lines
1.4 KiB
PHP

<?php
/**
* Created by Reliese Model.
*/
namespace App\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
/**
* Class AgentsPlus
*
* @property int $id
* @property string $uid
* @property string $firstname
* @property string $lastname
* @property string $email
* @property float $userlongitude
* @property float $userlatitude
* @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
*
* @package App\Models
*/
class AgentsPlus extends Model
{
protected $table = 'agents_plus';
public $incrementing = false;
public $timestamps = false;
protected $casts = [
'id' => 'int',
'userlongitude' => 'float',
'userlatitude' => 'float',
'active' => 'int',
'solde' => 'float',
'etat' => 'int',
'number_geoBysuper' => 'int'
];
protected $dates = [
'created',
'openHours',
'closeHours'
];
protected $fillable = [
'id',
'uid',
'firstname',
'lastname',
'email',
'userlongitude',
'userlatitude',
'active',
'created',
'openHours',
'closeHours',
'solde',
'etat',
'network',
'country',
'code_parrain',
'category',
'code_membre',
'number_geoBysuper'
];
}