price_lists
Прайс-листы тарификации
Записей: ~4
Колонки
| Колонка | Тип | Nullable | Default | Описание |
|---|---|---|---|---|
| id 🔑 | integer(32) | NOT NULL | nextval('price_lists_id_seq... | |
| name | character varying(200) | NOT NULL | ||
| description | text | NULL | ||
| status | character varying(20) | NOT NULL | 'draft'::character varying | Статус: draft (черновик), active (действующий), archived (архивный) |
| effective_date | date | NOT NULL | Дата вступления в силу | |
| created_by | integer(32) | NULL | ||
| created_at | timestamp without time zone | NULL | now() | |
| updated_at | timestamp without time zone | NULL | now() |
🔑 = Primary Key, → = Foreign Key
Индексы
| Имя | Определение |
|---|---|
| idx_price_lists_effective_date | CREATE INDEX idx_price_lists_effective_date ON public.price_lists USING btree... |
| idx_price_lists_status | CREATE INDEX idx_price_lists_status ON public.price_lists USING btree (status) |
| price_lists_pkey | CREATE UNIQUE INDEX price_lists_pkey ON public.price_lists USING btree (id) |