adapting BreCal.schemas.model - noting potential bugs or adding comments for documentation
This commit is contained in:
parent
a25c786b3c
commit
c2cab65271
@ -17,7 +17,7 @@ class Berth(Schema):
|
|||||||
id: int
|
id: int
|
||||||
name: str
|
name: str
|
||||||
participant_id: int
|
participant_id: int
|
||||||
lock: bool
|
lock: bool # synonyms: lock/sluice/floodgate
|
||||||
created: datetime
|
created: datetime
|
||||||
modified: datetime
|
modified: datetime
|
||||||
deleted: bool
|
deleted: bool
|
||||||
@ -94,7 +94,7 @@ class Shipcall:
|
|||||||
|
|
||||||
id: int
|
id: int
|
||||||
ship_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
|
eta: datetime
|
||||||
voyage: str
|
voyage: str
|
||||||
etd: datetime
|
etd: datetime
|
||||||
@ -203,6 +203,7 @@ class Ship(Schema):
|
|||||||
participant_id: int
|
participant_id: int
|
||||||
length: float
|
length: float
|
||||||
width: float
|
width: float
|
||||||
|
# TODO: determine, if max_draft is missing. Was initially listed in 'BremenCalling_Datenmodell.xlsx'
|
||||||
is_tug: bool
|
is_tug: bool
|
||||||
bollard_pull: int
|
bollard_pull: int
|
||||||
eni: str
|
eni: str
|
||||||
|
|||||||
Reference in New Issue
Block a user