48 lines
		
	
	
		
			742 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			742 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
| <?php
 | |
| 
 | |
| /**
 | |
|  * Created by Reliese Model.
 | |
|  */
 | |
| 
 | |
| namespace App\Models;
 | |
| 
 | |
| use Carbon\Carbon;
 | |
| use Illuminate\Database\Eloquent\Model;
 | |
| 
 | |
| /**
 | |
|  * Class CodeGenerer
 | |
|  * 
 | |
|  * @property int $id
 | |
|  * @property string $code_parrain
 | |
|  * @property string $code_membre
 | |
|  * @property Carbon $date_creation
 | |
|  * @property Carbon $date_modifcation
 | |
|  * @property string $category
 | |
|  * @property int $etat
 | |
|  *
 | |
|  * @package App\Models
 | |
|  */
 | |
| class CodeGenerer extends Model
 | |
| {
 | |
| 	protected $table = 'codeGenerer';
 | |
| 	public $timestamps = false;
 | |
| 
 | |
| 	protected $casts = [
 | |
| 		'etat' => 'int'
 | |
| 	];
 | |
| 
 | |
| 	protected $dates = [
 | |
| 		'date_creation',
 | |
| 		'date_modifcation'
 | |
| 	];
 | |
| 
 | |
| 	protected $fillable = [
 | |
| 		'code_parrain',
 | |
| 		'code_membre',
 | |
| 		'date_creation',
 | |
| 		'date_modifcation',
 | |
| 		'category',
 | |
| 		'etat'
 | |
| 	];
 | |
| }
 |