I have two tables, User and Post. One User can have many posts and one post belongs to only one user>
User
Post
posts
post
user>
EmployeeGatePassStatus::with('user:id,name')->get();