public DeviceModel(int deviceID, string serialnr, ModelModel model, StorageLocationModel location, byte status, string notes,
                    DateTime changeDate, string changedBy, string returnedBy, DateTime returnedDate)
 {
     //set  fields
     this.deviceID     = deviceID;
     this.serialNumber = serialnr;
     this.model        = model;
     this.status       = status;
     this.location     = location;
     this.notes        = notes;
     this.changeDate   = changeDate;
     this.changedBy    = changedBy;
     this.returnedBy   = returnedBy;
     this.returnedDate = returnedDate;
 }
 public ItemLineModel(int quantity, ModelModel model)
 {
     this.quantity = quantity;
     this.model    = model;
 }