public BarcodeData GetCopy() { return(new BarcodeData() { StickerId = StickerId, Nomenclature = Nomenclature.GetCopy(), Tray = Tray.GetCopy(), TraysCount = TraysCount, TotalUnitsQuantity = TotalUnitsQuantity, UnitsPerBox = UnitsPerBox, Liner = Liner.GetCopy(), LinersAmount = LinersAmount, Cell = Cell.GetCopy(), Party = Party.GetCopy(), PreviousStickerCode = PreviousStickerCode }); }