Class Shipment

java.lang.Object
com.shipmentXpress.model.Shipment

@Entity public class Shipment extends Object
The Shipment class represents a shipment with its attributes.
  • Constructor Details

    • Shipment

      public Shipment(String packageNumber, String content, double weight, String senderAddress, String srecipientAddress, Timestamp created_timestamp)
      Constructs a Shipment object with the specified attributes.
      Parameters:
      packageNumber - Identification number for the package.
      content - Description of the shipment content.
      weight - Weight of the shipment.
      senderAddress - Address of the sender.
      srecipientAddress - Address of the recipient.
      created_timestamp - Timestamp of when the shipment was created.