more features

This commit is contained in:
2018-12-26 02:15:32 -06:00
parent 3b79242970
commit 444545346a
4 changed files with 24 additions and 4 deletions
+5
View File
@@ -27,5 +27,10 @@ class HelpDeskTicket extends Model
'department',
'subject',
'body',
'active',
];
public function response() {
return $this->hasMany('App\Models\HelpDesk\HelpDeskTicketResponse', 'ticket_id');
}
}