export interface Site {
    id: number
    name: string
    street: string
    complement: string | null
    postalCode: string
    city: string
    color: string
    /** Adresse complete reconstituee cote backend (getter computed). Lecture seule. */
    fullAddress: string
}

/**
 * Payload accepte en POST/PATCH /api/sites. Volontairement sans `fullAddress`
 * (computed cote backend) ni champs read-only (id, timestamps).
 */
export interface SiteInput {
    name: string
    street: string
    complement: string | null
    postalCode: string
    city: string
    color: string
}
