<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Database\Eloquent\SoftDeletes;

class Subscribe extends Model
{
     //use soft delete
    use SoftDeletes;

    protected $fillable = [
       
       'user_id',	'package_id',	'type',	'paymentId'
    ];
    public function user(){
        return $this->belongsTo('App\User','user_id');
    }
}
