| 
									
										
										
										
											2020-04-15 23:08:09 +00:00
										 |  |  | <?php | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /** | 
					
						
							|  |  |  |  * Created by Reliese Model. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | namespace App\Models; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | use Carbon\Carbon; | 
					
						
							|  |  |  | use Illuminate\Database\Eloquent\Model; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /** | 
					
						
							|  |  |  |  * Class WalletAgent | 
					
						
							| 
									
										
										
										
											2020-08-24 16:29:50 +00:00
										 |  |  |  * | 
					
						
							| 
									
										
										
										
											2020-04-15 23:08:09 +00:00
										 |  |  |  * @property int $wallet_id | 
					
						
							|  |  |  |  * @property float $balance_princ | 
					
						
							|  |  |  |  * @property float $balance_com | 
					
						
							|  |  |  |  * @property Carbon $created_date | 
					
						
							| 
									
										
										
										
											2020-08-24 16:29:50 +00:00
										 |  |  |  * @property int $networks_agent_id | 
					
						
							| 
									
										
										
										
											2020-04-15 23:08:09 +00:00
										 |  |  |  * @property int $agent_id | 
					
						
							| 
									
										
										
										
											2020-10-30 11:25:31 +00:00
										 |  |  |  * @property string|null $lastname | 
					
						
							|  |  |  |  * @property string|null $codeMembre | 
					
						
							|  |  |  |  * @property string|null $codeParrain | 
					
						
							|  |  |  |  * @property string|null $category | 
					
						
							| 
									
										
										
										
											2020-04-15 23:08:09 +00:00
										 |  |  |  * @property int $network_id | 
					
						
							|  |  |  |  * @property string $network | 
					
						
							| 
									
										
										
										
											2020-10-30 11:25:31 +00:00
										 |  |  |  * @property string|null $currency_code | 
					
						
							|  |  |  |  * @property string|null $transactionNumber | 
					
						
							| 
									
										
										
										
											2020-04-15 23:08:09 +00:00
										 |  |  |  * | 
					
						
							|  |  |  |  * @package App\Models | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | class WalletAgent extends Model | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  | 	protected $table = 'wallet_agent'; | 
					
						
							|  |  |  | 	public $incrementing = false; | 
					
						
							|  |  |  | 	public $timestamps = false; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-10-30 11:25:31 +00:00
										 |  |  |     protected $casts = [ | 
					
						
							| 
									
										
										
										
											2020-08-24 16:29:50 +00:00
										 |  |  |         'wallet_id' => 'int', | 
					
						
							|  |  |  |         'balance_princ' => 'float', | 
					
						
							|  |  |  |         'balance_com' => 'float', | 
					
						
							|  |  |  |         'networks_agent_id' => 'int', | 
					
						
							|  |  |  |         'agent_id' => 'int', | 
					
						
							|  |  |  |         'network_id' => 'int' | 
					
						
							|  |  |  |     ]; | 
					
						
							| 
									
										
										
										
											2020-04-15 23:08:09 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	protected $dates = [ | 
					
						
							|  |  |  | 		'created_date' | 
					
						
							|  |  |  | 	]; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-10-30 11:25:31 +00:00
										 |  |  |     protected $fillable = [ | 
					
						
							| 
									
										
										
										
											2020-08-24 16:29:50 +00:00
										 |  |  |         'wallet_id', | 
					
						
							|  |  |  |         'balance_princ', | 
					
						
							|  |  |  |         'balance_com', | 
					
						
							|  |  |  |         'created_date', | 
					
						
							|  |  |  |         'networks_agent_id', | 
					
						
							|  |  |  |         'agent_id', | 
					
						
							|  |  |  |         'lastname', | 
					
						
							|  |  |  |         'codeMembre', | 
					
						
							|  |  |  |         'codeParrain', | 
					
						
							|  |  |  |         'category', | 
					
						
							|  |  |  |         'network_id', | 
					
						
							|  |  |  |         'network', | 
					
						
							|  |  |  |         'currency_code', | 
					
						
							|  |  |  |         'transactionNumber' | 
					
						
							|  |  |  |     ]; | 
					
						
							| 
									
										
										
										
											2020-04-15 23:08:09 +00:00
										 |  |  | } |