Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
package in.shop2020.warehouse.domain;import java.util.Date;public class InTransitInventory {private long itemId;private long originWarehouseId;private long destinationWarehouseId;private long quantity;private Date dateOfTransfer;public long getItemId() {return itemId;}public void setItemId(long itemId) {this.itemId = itemId;}public long getOriginWarehouseId() {return originWarehouseId;}public void setOriginWarehouseId(long originWarehouseId) {this.originWarehouseId = originWarehouseId;}public long getDestinationWarehouseId() {return destinationWarehouseId;}public void setDestinationWarehouseId(long destinationWarehouseId) {this.destinationWarehouseId = destinationWarehouseId;}public long getQuantity() {return quantity;}public void setQuantity(long quantity) {this.quantity = quantity;}public Date getDateOfTransfer() {return dateOfTransfer;}public void setDateOfTransfer(Date dateOfTransfer) {this.dateOfTransfer = dateOfTransfer;}public in.shop2020.warehouse.InTransitInventory toThriftObject() {in.shop2020.warehouse.InTransitInventory t_InTransitInventory = new in.shop2020.warehouse.InTransitInventory();t_InTransitInventory.setItemId(this.itemId);t_InTransitInventory.setOriginWarehouseId(this.originWarehouseId);t_InTransitInventory.setDestinationWarehouseId(this.destinationWarehouseId);t_InTransitInventory.setQuantity(this.quantity);t_InTransitInventory.setTransferDate(this.dateOfTransfer.getTime());return t_InTransitInventory;}}