Files
old-kivi-za-auta/kivi_cars/cars/models.py
2022-07-16 09:45:58 +02:00

86 lines
5.2 KiB
Python

from django.db import models
# Create your models here.
class Car(models.Model):
Olx_id = models.CharField(max_length=10, null=True)
Kategorija = models.CharField(max_length=30, null=True)
Cijena = models.CharField(max_length=30, null=True)
Stanje = models.CharField(max_length=30, null=True)
Lokacija_kanton = models.CharField(max_length=50, null=True)
Lokacija_grad = models.CharField(max_length=50, null=True)
Brend = models.CharField(max_length=30, null=True)
Model = models.CharField(max_length=30, null=True)
Godiste = models.CharField(max_length=30, null=True)
Kilometraza = models.CharField(max_length=30, null=True)
Kilovata_KW = models.CharField(max_length=30, null=True)
Kubikaza = models.CharField(max_length=30, null=True)
Gorivo = models.CharField(max_length=30, null=True)
Broj_vrata = models.CharField(max_length=30, null=True)
Konjskih_snaga = models.CharField(max_length=30, null=True)
Metalik = models.CharField(max_length=30, null=True)
Masa_Tezina_kg = models.CharField(max_length=30, null=True)
Tip = models.CharField(max_length=30, null=True)
Pogon = models.CharField(max_length=30, null=True)
Emisioni_standard = models.CharField(max_length=30, null=True)
Velicina_felgi = models.CharField(max_length=30, null=True)
Transmisija = models.CharField(max_length=30, null=True)
Broj_stepeni_prijenosa = models.CharField(max_length=30, null=True)
Boja = models.CharField(max_length=30, null=True)
Muzika_ozvucenje = models.CharField(max_length=30, null=True)
Parking_senzori= models.CharField(max_length=30, null=True)
Parking_kamera = models.CharField(max_length=30, null=True)
Registrovan_do = models.CharField(max_length=30, null=True)
Godina_prve_registracije = models.CharField(max_length=30, null=True)
Broj_prethodnih_vlasnika = models.CharField(max_length=30, null=True)
Posjeduje_gume = models.CharField(max_length=30, null=True)
Visezonska_klima = models.CharField(max_length=30, null=True)
Rolo_zavjese = models.CharField(max_length=30, null=True)
Svjetla = models.CharField(max_length=30, null=True)
Zastita_Blokada = models.CharField(max_length=30, null=True)
Sjedecih_mjesta = models.CharField(max_length=30, null=True)
Turbo = models.CharField(max_length=30, null=True)
DPF_FAP_filter = models.CharField(max_length=30, null=True)
Strane_tablice = models.CharField(max_length=30, null=True)
Ocarinjen = models.CharField(max_length=30, null=True)
Prilagodjen_invalidima = models.CharField(max_length=30, null=True)
Servo_volan = models.CharField(max_length=30, null=True)
Tempomat = models.CharField(max_length=30, null=True)
ESP = models.CharField(max_length=30, null=True)
El_podizaci_stakala = models.CharField(max_length=30, null=True)
Senzor_mrtvog_ugla = models.CharField(max_length=30, null=True)
Digitalna_klima = models.CharField(max_length=30, null=True)
Touch_screen_ekran = models.CharField(max_length=30, null=True)
Panorama_krov = models.CharField(max_length=30, null=True)
Koza = models.CharField(max_length=30, null=True)
Masaza_sjedista = models.CharField(max_length=30, null=True)
El_pomjeranje_sjedista= models.CharField(max_length=30, null=True)
Senzor_auto_svjetla = models.CharField(max_length=30, null=True)
Alarm = models.CharField(max_length=30, null=True)
Daljinsko_otkljucavanje = models.CharField(max_length=30, null=True)
Auto_kuka = models.CharField(max_length=30, null=True)
Udaren = models.CharField(max_length=30, null=True)
Start_Stop_sistem = models.CharField(max_length=30, null=True)
Park_assist = models.CharField(max_length=30, null=True)
Registrovan = models.CharField(max_length=30, null=True)
Na_lizingu = models.CharField(max_length=30, null=True)
Servisna_knjiga = models.CharField(max_length=30, null=True)
Komande_na_volanu = models.CharField(max_length=30, null=True)
ABS = models.CharField(max_length=30, null=True)
Airbag = models.CharField(max_length=30, null=True)
Elektricni_retrovizori = models.CharField(max_length=30, null=True)
Klima = models.CharField(max_length=30, null=True)
Navigacija = models.CharField(max_length=30, null=True)
Siber= models.CharField(max_length=30, null=True)
Naslon_za_ruku= models.CharField(max_length=30, null=True)
Hladjenje_sjedista = models.CharField(max_length=30, null=True)
Grijanje_sjedista = models.CharField(max_length=30, null=True)
Memorija_sjedista = models.CharField(max_length=30, null=True)
Alu_felge = models.CharField(max_length=30, null=True)
Centralna_brava = models.CharField(max_length=30, null=True)
Oldtimer = models.CharField(max_length=30, null=True)
ISOFIX = models.CharField(max_length=30, null=True)
Datum = models.CharField(max_length=15, null=True)
def __str__(self):
return (self.Olx_id)