'float', 'active' => 'int', 'network_id' => 'int', 'group_id' => 'int', 'balance_credit' => 'float', 'balance_epargne' => 'float', 'id_bank_country' => 'int' ]; protected $dates = [ 'expiration_date', 'date_modified', 'date_created', 'date_adhesion' ]; protected $hidden = [ 'encrypted_password' ]; protected $fillable = [ 'uid', 'firstname', 'lastname', 'phone', 'email', 'user_code', 'numero_carte', 'expiration_date', 'card_country_id', 'adresse', 'solde', 'encrypted_password', 'salt', 'validation_code', 'active', 'qr_code', 'date_modified', 'date_created', 'group_id', 'balance_credit', 'balance_epargne', 'date_adhesion', 'id_bank_country', 'iban' ]; public function identifications() { return $this->hasMany(Identification::class, 'id_user'); } public function wallets_users() { return $this->hasMany(WalletsUser::class, 'idUser'); } public function network() { return $this->belongsTo(Network::class, 'network_id'); } public function bank() { return $this->belongsTo(NetworksOperator::class, 'id_bank_country', 'id_operator_country'); } }