diff --git a/app/Models/ClassCharacteristic.php b/app/Models/ClassCharacteristic.php new file mode 100644 index 0000000..2ee37fd --- /dev/null +++ b/app/Models/ClassCharacteristic.php @@ -0,0 +1,182 @@ +belongsTo(Plant::class); + } + + public function item(): BelongsTo + { + return $this->belongsTo(Item::class); + } + + public function machine(): BelongsTo + { + return $this->belongsTo(Machine::class); + } +}