%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/var/www/html/app/Models/
Upload File :
Create Path :
Current File : //proc/self/root/var/www/html/app/Models/Reglements.php

<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Reglements extends Model
{
    use HasFactory;

    protected $fillable = [
        'num',
        'montant',
        'commande_id',
        'date_reglement',
        'type',
        'status',
        'banque',
        'method'
    ];

    protected $casts = [
        'date_reglement' => 'datetime'
    ];

    public function commande(){
        return $this->hasOne(Commande::class,'id','commande_id');
    }

}

Zerion Mini Shell 1.0