gpp/port/models.py

75 lines
1.2 KiB
Python

from django.db import models
class Address(models.Model):
address =
zip_code =
city =
country =
class Person(models.Model):
name = models.CharField(max_length=200)
surname = models.CharField(max_length=200)
address =
nationality =
email =
phone =
class Company(models.Model):
name =
address =
siret =
class Insurance(Company):
pass
class Boat(models.Model):
name =
registration_num =
length =
beam =
water_draught =
tonnage =
water_tank =
model =
heating =
class Port(models.Model):
name =
address =
class Dock(models.Model):
num =
length =
width =
depth =
class Plug(models.Model):
num =
amperage =
voltage =
class Tap(models.Model):
num =
class Stay(models.Model):
arrival = models.DateTimeField('date published')
departure = models.DateTimeField('date published')
coming_from =
going_to =
class Payment(models.Model):
num =
date = models.DateTimeField('date published')
pay_type =
amount =
class Bill_line(models.Model):
service =
quantity =
class Service(models.Model):
service_type =
# Create your models here.