Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // This is UserDetail Model
- namespace App;
- use Illuminate\Database\Eloquent\Model;
- class UserDetail extends Model
- {
- public $fillable = ['telephone','gender','birthday','races'];
- public function user_detail()
- {
- return $this->belongsTo(User::class);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement