package com.microstar.tap3.common;

public class ShipmentEnums {
	public enum ShipmentType {
		FREIGHT ("Freight Shipment"),
		BFRT ("Billable Freight"),
		LOCAL ("Local Pickup");
		
		private String description;
		
		ShipmentType(String description)
		{
			this.setDescription(description);
		}

		public String getDescription() {
			return description;
		}

		public void setDescription(String description) {
			this.description = description;
		}
	}
	
	public enum ShipmentContainerLinkType {
		ORDERED ("Quantity Ordered"),
		DELIVERED ("Quantity Delivered"),
		FOREIGN ("Foreign Kegs"),
		ACKED ("Acknowledged Kegs");
		
		private String description;
		
		ShipmentContainerLinkType (String description)
		{
			this.setDescription(description);
		}

		public String getDescription() {
			return description;
		}

		public void setDescription(String description) {
			this.description = description;
		}
	}
	
	public enum ShipmentStatus {
		ALLOC ("Allocated"),		// Logistics status
		BOOKED ("Booked"),			// Logistics status
		INTRAN ("In-Transit"),		// Logistics status
		DEL ("Delivered"),			// Logistics status
		ACK ("Acknowledged"),		// Logistics status
		PEN ("Pending"),			// Logistics status
		CXL ("Canceled"),			// Shared
		COM ("Completed"),			// Hand-off between Logistics or Customer and CE
		HOLD ("On Hold"),			// CE status
		REVIEW ("Under Review"),	// CE status
		PRE ("Pre-Post"),			// CE status
		RTP ("Ready to Post"),		// CE status
		POST ("Posted"),			// CE status
		INV ("Invoiced");			// CE status
		
		private String description;
		
		ShipmentStatus(String description)
		{
			this.setDescription(description);
		}

		public String getDescription() {
			return description;
		}

		public void setDescription(String description) {
			this.description = description;
		}
	}
	
	
	public enum LoadType {
		FTL ("Full Truck Load"),
		FTL_VOL ("FTL Volume Load"),
		LTL ("Less-than Truck Load"),
		TNKR_TRK ("Tanker Truck"),
		TNKR_SHP ("Tanker Ship");
		
		
		private String description;
		
		LoadType(String description)
		{
			this.setDescription(description);
		}

		public String getDescription() {
			return description;
		}

		public void setDescription(String description) {
			this.description = description;
		}
	}
	
	public enum MovementType {
		BRW2DIST ("Brewer to Distributor"),
		BRW2BRW ("Brewer to Brewer"),
		BRW2PUB ("Brewer to Pub"),
		BRW2MF ("Brewer to Maint Facility"),
		BRW2RDC ("Brewer to RDC"),

		CONBRW2DIST ("Contract Brewer to Distributor"),
		CONBRW2BRW ("Contract Brewer to Brewer"),
		CONBRW2CONBRW ("Contract Brewer to Contract Brewer"),
		CONBRW2PUB ("Contract Brewer to Pub"),
		CONBRW2MF ("Contract Brewer to Maint Facility"),
		CONBRW2RDC ("Contract Brewer to RDC"),

		PUB2BRW ("Pub to Brewer"),
		PUB2CONBRW ("Pub to Contract Brewer"),
		PUB2DIST ("Pub to Distributor"),

		DIST2BRW ("Distributor to Brewer"),
		DIST2CONBRW ("Distributor to Contract Brewer"),
		DIST2DIST ("Distributor to Distributor"),
		DIST2WH ("Distributor to Warehouse"),
		DIST2MF ("Distributor to Maint Facility"),
		
		MF2BRW ("Maint Facility to Brewer"),
		MF2CONBRW ("Maint Facility to Contract Brewer"),
		MF2WH ("Maint Facility to Warehouse"),
		
		WH2BRW ("Warehouse to Brewer"),
		WH2CONBRW ("Warehouse to Contract Brewer"),
		WH2WH ("Warehouse to Warehouse"),
		WH2MF ("Warehouse to Maint Facility");
		
		private String description;
		
		MovementType(String description)
		{
			this.setDescription(description);
		}

		public String getDescription() {
			return description;
		}

		public void setDescription(String description) {
			this.description = description;
		}
	}
	

}
