feat: Enhance condo and family data models

Adds new fields for detailed address information and notes to the Condo and Family types.
Updates database schema and server API endpoints to support these new fields, improving data richness for location and specific family/condo details.
This commit is contained in:
2025-12-07 16:10:33 +01:00
parent 28148ee550
commit fd107c1ef8
9 changed files with 422 additions and 294 deletions

View File

@@ -3,6 +3,11 @@ export interface Condo {
id: string;
name: string;
address?: string;
streetNumber?: string; // Civico
city?: string; // Città
province?: string; // Provincia
zipCode?: string; // CAP
notes?: string; // Note
iban?: string;
defaultMonthlyQuota: number;
image?: string; // Optional placeholder for logo
@@ -12,7 +17,10 @@ export interface Family {
id: string;
condoId: string; // Link to specific condo
name: string;
unitNumber: string; // Internal apartment number
unitNumber: string; // Internal apartment number (Interno)
stair?: string; // Scala
floor?: string; // Piano
notes?: string; // Note
contactEmail?: string;
balance: number; // Calculated balance (positive = credit, negative = debt)
customMonthlyQuota?: number; // Optional override for default quota