2025-11-13 11:38:41 +01:00
|
|
|
import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';
|
|
|
|
|
|
|
|
|
|
/** Identifier type for public.provincie */
|
|
|
|
|
export type ProvincieId = number & { __brand: 'public.provincie' };
|
|
|
|
|
|
|
|
|
|
/** Represents the table public.provincie */
|
|
|
|
|
export default interface ProvincieTable {
|
|
|
|
|
id: ColumnType<ProvincieId, ProvincieId | undefined, ProvincieId>;
|
|
|
|
|
|
|
|
|
|
nome: ColumnType<string, string, string>;
|
|
|
|
|
|
|
|
|
|
sigla: ColumnType<string, string, string>;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type Provincie = Selectable<ProvincieTable>;
|
|
|
|
|
|
|
|
|
|
export type NewProvincie = Insertable<ProvincieTable>;
|
|
|
|
|
|
2026-04-27 16:53:54 +02:00
|
|
|
export type ProvincieUpdate = Updateable<ProvincieTable>;
|