v1.0
bruce 8 months ago
parent bc69cf51d2
commit 4847408e58
  1. 2
      app/common/model/MaintenanceCategory.php

@ -53,6 +53,6 @@ class MaintenanceCategory extends BaseModel
} }
public function maintenances() { public function maintenances() {
return $this->hasMany(MaintenanceCategory::class,'category_id', 'id'); return $this->hasMany(Maintenance::class,'category_id', 'id');
} }
} }

Loading…
Cancel
Save