From 10cdd51e44c05431d72ef749244ef4eec1a97ba6 Mon Sep 17 00:00:00 2001 From: docteur_mucus Date: Mon, 27 May 2019 11:31:43 +0200 Subject: [PATCH] Update: names of classes --- port/models.py | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/port/models.py b/port/models.py index 09c414b..2b3f50b 100644 --- a/port/models.py +++ b/port/models.py @@ -51,16 +51,24 @@ class Plug(models.Model): class Tap(models.Model): num = -class (models.Model): +class Stay(models.Model): + arrival = models.DateTimeField('date published') + departure = models.DateTimeField('date published') + coming_from = + going_to = - pub_date = models.DateTimeField('date published') - pub_date = models.DateTimeField('date published') - - -class Boat(models.Model): -class Boat(models.Model): -class Boat(models.Model): -class Boat(models.Model): -class Boat(models.Model): - +class Payment(models.Model): + num = + date = models.DateTimeField('date published') + pay_type = + value = + +class Bill_line(models.Model): + service = + amount = + +class Service(models.Model): + service_type = + + # Create your models here.