infoalloggi-monorepo/apps/infoalloggi/src/schemas/public/ServizioAnnunci.ts

59 lines
2.3 KiB
TypeScript
Raw Normal View History

2025-08-04 17:45:44 +02:00
// @generated
// This file is automatically generated by Kanel. Do not modify manually.
import type { ServizioServizioId } from './Servizio';
import type { AnnunciId } from './Annunci';
import type { StorageindexId } from './Storageindex';
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
/** Represents the table public.servizio_annunci */
export default interface ServizioAnnunciTable {
servizio_id: ColumnType<ServizioServizioId, ServizioServizioId, ServizioServizioId>;
annunci_id: ColumnType<AnnunciId, AnnunciId, AnnunciId>;
created_at: ColumnType<Date, Date | string | undefined, Date | string>;
open_contatti_at: ColumnType<Date | null, Date | string | null, Date | string | null>;
doc_conferma_ref: ColumnType<StorageindexId | null, StorageindexId | null, StorageindexId | null>;
user_confirmed_at: ColumnType<Date | null, Date | string | null, Date | string | null>;
accettato_conferma_at: ColumnType<Date | null, Date | string | null, Date | string | null>;
caparra_causale: ColumnType<string | null, string | null, string | null>;
caparra_iban: ColumnType<string | null, string | null, string | null>;
caparra_importo: ColumnType<string | null, string | null, string | null>;
caparra_intestazione: ColumnType<string | null, string | null, string | null>;
hasConfermaAdmin: ColumnType<boolean, boolean | undefined, boolean>;
doc_contratto_ref: ColumnType<StorageindexId | null, StorageindexId | null, StorageindexId | null>;
gestionale_id: ColumnType<number | null, number | null, number | null>;
contratto_decorrenza: ColumnType<Date | null, Date | string | null, Date | string | null>;
contratto_scadenza: ColumnType<Date | null, Date | string | null, Date | string | null>;
contratto_tipo: ColumnType<string | null, string | null, string | null>;
doc_registrazione_ref: ColumnType<StorageindexId | null, StorageindexId | null, StorageindexId | null>;
doc_conferma_added: ColumnType<boolean, boolean | undefined, boolean>;
doc_contratto_added: ColumnType<boolean, boolean | undefined, boolean>;
doc_registrazione_added: ColumnType<boolean, boolean | undefined, boolean>;
}
export type ServizioAnnunci = Selectable<ServizioAnnunciTable>;
export type NewServizioAnnunci = Insertable<ServizioAnnunciTable>;
export type ServizioAnnunciUpdate = Updateable<ServizioAnnunciTable>;