Tabela OFFERS

Opis pól tabeli OFFERS. Tabela przechowuje dane klienta.

Nazwa kolumny Typ Opis
id_offer string unikalny identyfikator bilioteki, klucz główny tabeli OFFERS
id_user int identyfiktor użytkownika, referencja do klucza głównego id_user w tabeli USERS, OFFERS.id_user = USERS.id_user
id_customer string identyfiktor osoby kontaktowej, referencja do klucza głównego id_customer w tabeli CUSTOMER, OFFERS.id_customer = CUSTOMER.id_customer
id_thread string identyfiktor wątku, referencja do klucza głównego id_thread w tabeli THREADS, OFFERS.id_thread = THREADS.id_thread
offer_title string tytuł oferty
offer_date datetime data oferty w formacie Y-m-d H:i:s
offer_availability_date datetime data ważności oferty
offer_price decimal cena
offer_price_netto decimal cena netto
offer_price_brutto decimal cena brutto
offer_type string NEW/IN_EDIT/TO_ACCEPT/SEND/SEND_SMS/NOT_ACCEPTED/CANCELED/ACCEPTED/REJECTED/AUTHORIZATION
offer_accepted_at datetime data akceptacji oferty
offer_send_status string status wysyłki SEND, ERROR
offer_send_date datetime data wysyłki w formacie Y-m-d H:i:s
offer_visits_count int liczbę wejść w ofertę
offer_variant_count int liczbę wariantów w ofercie