工单列表

This commit is contained in:
2025-07-04 15:04:29 +08:00
parent b70fc6c4f8
commit 388747634a
7 changed files with 22 additions and 12 deletions
+4
View File
@@ -70,4 +70,8 @@ class Ticket extends Model
public function attachments(){
return $this->hasMany(Attachment::class, 'ticket_id', 'id');
}
public function categorie(){
return $this->belongsTo(Categorie::class, 'categorie_id', 'id');
}
}