20-02-2026
This commit is contained in:
parent
854ce02bf6
commit
4d6b4930b2
128 changed files with 18247 additions and 2093 deletions
21
app/Enums/PartnerType.php
Normal file
21
app/Enums/PartnerType.php
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum PartnerType: string
|
||||
{
|
||||
case Retailer = 'Retailer';
|
||||
case Manufacturer = 'Manufacturer';
|
||||
case EstateAgent = 'Estate-Agent';
|
||||
case Customer = 'Customer';
|
||||
|
||||
public function label(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::Retailer => 'Händler',
|
||||
self::Manufacturer => 'Hersteller',
|
||||
self::EstateAgent => 'Makler',
|
||||
self::Customer => 'Kunde',
|
||||
};
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue