first re-commit.
This commit is contained in:
55
libMiniCash/mcsalesitemmap.h
Normal file
55
libMiniCash/mcsalesitemmap.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/***************************************************************************
|
||||
|
||||
libMiniCash
|
||||
Copyright © 2013-2022 christoph holzheuer
|
||||
c.holzheuer@sourceworx.org
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef MCSALESITEMMAP_H
|
||||
#define MCSALESITEMMAP_H
|
||||
|
||||
#include <QMap>
|
||||
#include <QString>
|
||||
|
||||
#include <libMiniCash.h>
|
||||
#include <mcsalesitem.h>
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @brief Speichert verkaufte Artikel.
|
||||
*
|
||||
* Speichert verkaufte Artikel pro Kunde nach der laufenden Nummer des Artikels.
|
||||
*/
|
||||
|
||||
class MCSalesItemMap : public QMap<QString, MCSalesItem>
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
enum Index
|
||||
{
|
||||
Count = 0,
|
||||
SellerID,
|
||||
ItemNo,
|
||||
Price,
|
||||
MaxSize
|
||||
};
|
||||
|
||||
MCSalesItemMap();
|
||||
|
||||
void appendItem( const QString& id, const QString& no, const QString& price );
|
||||
|
||||
void dump() const;
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif // MCSALESITEMMAP_H
|
Reference in New Issue
Block a user