S3_Cpp/Aufg8/ProductSale.h

34 lines
576 B
C
Raw Permalink Normal View History

2024-11-21 21:04:40 +00:00
//
// Created by DH10MBO on 21.11.2024.
//
#ifndef PRODUCTSALE_H
#define PRODUCTSALE_H
#include <string>
class ProductSale {
public:
2024-11-21 21:04:40 +00:00
std::string region;
std::string country;
std::string itemType;
std::string salesChannel;
std::string orderPriority;
std::string orderDate;
std::string orderId;
std::string shipDate;
int unitsSold;
double unitPrice;
double unitCost;
double totalRevenue;
double totalCost;
double totalProfit;
2024-11-21 21:04:40 +00:00
ProductSale(std::string line);
std::string toString();
2024-11-21 21:04:40 +00:00
};
#endif //PRODUCTSALE_H