HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /var/www/devs.lapieza.net/app/Models/
Upload File :
Current File : /var/www/devs.lapieza.net/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);

    }

}