TicketThread.php 273 B

1234567891011121314151617
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. class TicketThread extends Model
  5. {
  6. protected $table = "ticket_thread";
  7. protected $guarded=['id'];
  8. function user()
  9. {
  10. return $this->belongsTo('App\User','comment_by','id');
  11. }
  12. }