April 2026 waren Wirtschaft Feedback
This commit is contained in:
parent
02f2a4c23e
commit
9ce711d6b2
167 changed files with 25278 additions and 8518 deletions
27
app/Models/PackagingMaterial.php
Normal file
27
app/Models/PackagingMaterial.php
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Database\Factories\PackagingMaterialFactory;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||
|
||||
class PackagingMaterial extends Model
|
||||
{
|
||||
/** @use HasFactory<PackagingMaterialFactory> */
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'pos',
|
||||
];
|
||||
|
||||
/**
|
||||
* @return HasMany<PackagingItem, $this>
|
||||
*/
|
||||
public function packagingItems(): HasMany
|
||||
{
|
||||
return $this->hasMany(PackagingItem::class);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue