public StorageLocationModel(string shelfName, byte shelfLevel, byte shelfSpot, BuildingModel location)
 {
     this.shelfName  = shelfName;
     this.shelfLevel = shelfLevel;
     this.shelfSpot  = shelfSpot;
     this.location   = location;
 }
Ejemplo n.º 2
0
 public BookingModel(int BookingID, string Customer, List <ItemLineModel> Items, List <DeviceModel> Devices, BuildingModel Location, DateTime PlannedBorrowDate, DateTime PlannedReturnDate, byte BookingStatus, string DeliveredBy = null, string Notes = null)
 {
     this.bookingID         = BookingID;
     this.customer          = Customer;
     this.notes             = Notes;
     this.items             = Items;
     this.devices           = Devices;
     this.location          = Location;
     this.plannedBorrowDate = PlannedBorrowDate;
     this.plannedReturnDate = PlannedReturnDate;
     this.bookingStatus     = BookingStatus;
     this.deliveredBy       = DeliveredBy;
 }