changed shipment_id to integers
This commit is contained in:
@ -85,17 +85,17 @@ specific_dewars3 = [dewar for dewar in dewars if dewar.id in specific_dewar_ids3
|
||||
|
||||
shipments = [
|
||||
Shipment(
|
||||
shipment_id="SHIPMENT001", shipment_date=datetime.strptime('2024-10-10', '%Y-%m-%d'),
|
||||
shipment_id=1, shipment_date=datetime.strptime('2024-10-10', '%Y-%m-%d'),
|
||||
shipment_name='Shipment from Mordor', shipment_status='Delivered', contact_person_id=2,
|
||||
proposal_id=3, return_address_id=1, comments='Handle with care', dewars=specific_dewars1
|
||||
),
|
||||
Shipment(
|
||||
shipment_id="SHIPMENT002", shipment_date=datetime.strptime('2024-10-24', '%Y-%m-%d'),
|
||||
shipment_id=2, shipment_date=datetime.strptime('2024-10-24', '%Y-%m-%d'),
|
||||
shipment_name='Shipment from Mordor', shipment_status='In Transit', contact_person_id=4,
|
||||
proposal_id=4, return_address_id=2, comments='Contains the one ring', dewars=specific_dewars2
|
||||
),
|
||||
Shipment(
|
||||
shipment_id="SHIPMENT003", shipment_date=datetime.strptime('2024-10-28', '%Y-%m-%d'),
|
||||
shipment_id=3, shipment_date=datetime.strptime('2024-10-28', '%Y-%m-%d'),
|
||||
shipment_name='Shipment from Mordor', shipment_status='In Transit', contact_person_id=5,
|
||||
proposal_id=5, return_address_id=1, comments='Contains the one ring', dewars=specific_dewars3
|
||||
),
|
||||
|
Reference in New Issue
Block a user