// @generated
// This file is automatically generated by Kanel. Do not modify manually.

import type { ColumnType, Selectable, Insertable, Updateable } from 'kysely';

/** Identifier type for public.prezziario */
export type PrezziarioIdprezziario = string & { __brand: 'public.prezziario' };

/** Represents the table public.prezziario */
export default interface PrezziarioTable {
  idprezziario: ColumnType<PrezziarioIdprezziario, PrezziarioIdprezziario, PrezziarioIdprezziario>;

  prezzo_cent: ColumnType<number, number, number>;

  testo_condizioni: ColumnType<string | null, string | null, string | null>;

  isActive: ColumnType<boolean, boolean | undefined, boolean>;

  nome_it: ColumnType<string, string, string>;

  nome_en: ColumnType<string, string, string>;

  desc_it: ColumnType<string, string, string>;

  desc_en: ColumnType<string, string, string>;

  sconto: ColumnType<number, number | undefined, number>;

  isAcconto: ColumnType<boolean, boolean | undefined, boolean>;

  isSaldo: ColumnType<boolean, boolean | undefined, boolean>;

  isConsulenza: ColumnType<boolean, boolean | undefined, boolean>;

  isStabile: ColumnType<boolean, boolean | undefined, boolean>;

  isTransitorio: ColumnType<boolean, boolean | undefined, boolean>;
}

export type Prezziario = Selectable<PrezziarioTable>;

export type NewPrezziario = Insertable<PrezziarioTable>;

export type PrezziarioUpdate = Updateable<PrezziarioTable>;
