TicketReply.php 265 B

123456789101112131415
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. class TicketReply extends Model
  5. {
  6. public function ticket(){
  7. return $this->belongsTo(Ticket::class);
  8. }
  9. public function user(){
  10. return $this->belongsTo(User::class);
  11. }
  12. }