Mobilfunk: Feld "Mobilfunknetz" unter Anbieter & Tarif
Neues Dropdown "Mobilfunknetz" in der Anbieter-&-Tarif-Karte, nur sichtbar bei Vertragstyp Mobilfunk. Optionen: Bitte auswählen (leer), Telekom, Vodafone, Telefónica. Neues Feld MobileContractDetails.mobileNetwork (String nullable, speichert TELEKOM/VODAFONE/TELEFONICA) + idempotente Migration (ADD COLUMN IF NOT EXISTS). String statt Enum, damit weitere Netze ohne Migration ergänzbar sind. Anzeige in der Vertragsansicht mit lesbarem Netz-Namen. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -970,6 +970,10 @@ model MobileContractDetails {
|
||||
contractId Int @unique
|
||||
contract Contract @relation(fields: [contractId], references: [id], onDelete: Cascade)
|
||||
requiresMultisim Boolean @default(false) // Multisim erforderlich?
|
||||
// Physisches Mobilfunknetz, auf dem der Tarif läuft: TELEKOM | VODAFONE
|
||||
// | TELEFONICA (null = nicht gewählt). Als String statt Enum gehalten,
|
||||
// damit weitere Netze ohne Migration ergänzbar sind.
|
||||
mobileNetwork String?
|
||||
dataVolume Float?
|
||||
includedMinutes Int?
|
||||
includedSMS Int?
|
||||
|
||||
Reference in New Issue
Block a user