Current Path : /home/lentoinv/api.lentoria.com/app/Models/ |
Current File : /home/lentoinv/api.lentoria.com/app/Models/Affiliate.php |
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Affiliate extends Model { use HasFactory; protected $fillable = [ 'user_id' ]; function user() { return $this->belongsTo(User::class); } }