'array', ]; public function customer() { return $this->belongsTo(\App\Models\Customer::class); } public function reply() { return $this->hasMany(\App\Models\TicketReply::class,'ticket_id','id'); } }