ok

Mini Shell

Direktori : /home2/selectio/public_html/limpiar.in.net/updates/app/Models/
Upload File :
Current File : //home2/selectio/public_html/limpiar.in.net/updates/app/Models/Coupon.php

<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Coupon extends Model
{
    protected $fillable = [
        'user_id', 'type', 'code','details','discount', 'discount_type', 'start_date', 'end_date'
    ];

    public function user(){
    	return $this->belongsTo(User::class);
    }
}

Zerion Mini Shell 1.0