Skip to content

Commit

Permalink
User complete
Browse files Browse the repository at this point in the history
  • Loading branch information
josephpaul committed Oct 31, 2014
1 parent f9b9702 commit 7268ea0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/app/models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,15 @@ public function usertask()
return $this->hasMany("UserTask", "user_id", "id");
}

public function prouser()
{
return $this->hasMany("ProUser", "user_id", "id");
}

public function task()
{
return $this->hasMany("Task", "admin", "id");
}


}

0 comments on commit 7268ea0

Please sign in to comment.