adapting BreCal.schemas.model - noting potential bugs or adding comments for documentation

This commit is contained in:
max_metz 2023-09-08 15:30:57 +02:00
parent a25c786b3c
commit c2cab65271

View File

@ -17,7 +17,7 @@ class Berth(Schema):
id: int
name: str
participant_id: int
lock: bool
lock: bool # synonyms: lock/sluice/floodgate
created: datetime
modified: datetime
deleted: bool
@ -94,7 +94,7 @@ class Shipcall:
id: int
ship_id: int
type: str
type: str # in other classes, type is an integer (same in ShipcallSchema). Is str correct here?
eta: datetime
voyage: str
etd: datetime
@ -203,6 +203,7 @@ class Ship(Schema):
participant_id: int
length: float
width: float
# TODO: determine, if max_draft is missing. Was initially listed in 'BremenCalling_Datenmodell.xlsx'
is_tug: bool
bollard_pull: int
eni: str