Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- class Pesan extends Model
- {
- protected $table = 'pesan';
- public function users_r(){
- return $this->belongsTo('App\User','users');
- }
- }
Add Comment
Please, Sign In to add comment