2025-08-04 17:45:44 +02:00
|
|
|
// @generated
|
|
|
|
|
// This file is automatically generated by Kanel. Do not modify manually.
|
|
|
|
|
|
2025-08-29 16:18:32 +02:00
|
|
|
import type { ColumnType, Insertable, Selectable, Updateable } from "kysely";
|
|
|
|
|
import type { UsersId } from "./Users";
|
2025-08-04 17:45:44 +02:00
|
|
|
|
|
|
|
|
/** Identifier type for public.users_anagrafica */
|
2025-08-29 16:18:32 +02:00
|
|
|
export type UsersAnagraficaIdanagrafica = string & {
|
|
|
|
|
__brand: "public.users_anagrafica";
|
|
|
|
|
};
|
2025-08-04 17:45:44 +02:00
|
|
|
|
|
|
|
|
/** Represents the table public.users_anagrafica */
|
|
|
|
|
export default interface UsersAnagraficaTable {
|
2025-08-29 16:18:32 +02:00
|
|
|
idanagrafica: ColumnType<
|
|
|
|
|
UsersAnagraficaIdanagrafica,
|
|
|
|
|
UsersAnagraficaIdanagrafica | undefined,
|
|
|
|
|
UsersAnagraficaIdanagrafica
|
|
|
|
|
>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-08-29 16:18:32 +02:00
|
|
|
userid: ColumnType<UsersId, UsersId, UsersId>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-08-29 16:18:32 +02:00
|
|
|
luogo_nascita: ColumnType<string | null, string | null, string | null>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-08-29 16:18:32 +02:00
|
|
|
data_nascita: ColumnType<
|
|
|
|
|
Date | null,
|
|
|
|
|
Date | string | null,
|
|
|
|
|
Date | string | null
|
|
|
|
|
>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-08-29 16:18:32 +02:00
|
|
|
nazione_nascita: ColumnType<string | null, string | null, string | null>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-08-29 16:18:32 +02:00
|
|
|
codice_fiscale: ColumnType<string | null, string | null, string | null>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-08-29 16:18:32 +02:00
|
|
|
via_residenza: ColumnType<string | null, string | null, string | null>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-08-29 16:18:32 +02:00
|
|
|
civico_residenza: ColumnType<string | null, string | null, string | null>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-08-29 16:18:32 +02:00
|
|
|
comune_residenza: ColumnType<string | null, string | null, string | null>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-08-29 16:18:32 +02:00
|
|
|
provincia_residenza: ColumnType<string | null, string | null, string | null>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-08-29 16:18:32 +02:00
|
|
|
cap_residenza: ColumnType<string | null, string | null, string | null>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-08-29 16:18:32 +02:00
|
|
|
nazione_residenza: ColumnType<string | null, string | null, string | null>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-08-29 16:18:32 +02:00
|
|
|
sesso: ColumnType<string | null, string | null, string | null>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-08-29 16:18:32 +02:00
|
|
|
azienda: ColumnType<boolean, boolean | undefined, boolean>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-08-29 16:18:32 +02:00
|
|
|
ragione_sociale: ColumnType<string | null, string | null, string | null>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-08-29 16:18:32 +02:00
|
|
|
sede_legale: ColumnType<string | null, string | null, string | null>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-08-29 16:18:32 +02:00
|
|
|
p_iva: ColumnType<string | null, string | null, string | null>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-08-29 16:18:32 +02:00
|
|
|
fatturazione_aziendale: ColumnType<boolean, boolean | undefined, boolean>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-08-29 16:18:32 +02:00
|
|
|
codice_destinatario: ColumnType<string | null, string | null, string | null>;
|
2025-08-04 17:45:44 +02:00
|
|
|
|
2025-08-29 16:18:32 +02:00
|
|
|
legale_rappresentante: ColumnType<
|
|
|
|
|
string | null,
|
|
|
|
|
string | null,
|
|
|
|
|
string | null
|
|
|
|
|
>;
|
2025-08-04 17:45:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type UsersAnagrafica = Selectable<UsersAnagraficaTable>;
|
|
|
|
|
|
|
|
|
|
export type NewUsersAnagrafica = Insertable<UsersAnagraficaTable>;
|
|
|
|
|
|
|
|
|
|
export type UsersAnagraficaUpdate = Updateable<UsersAnagraficaTable>;
|