mirror of https://github.com/layters/testshop
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
364 B
25 lines
364 B
#pragma once
|
|
|
|
#include <iostream>
|
|
#include <string>
|
|
|
|
namespace neroshop {
|
|
|
|
struct Rating {
|
|
std::string rater_id;
|
|
std::string comments;
|
|
std::string signature;
|
|
};
|
|
|
|
struct ProductRating : public Rating {
|
|
std::string product_id;
|
|
unsigned int stars;
|
|
};
|
|
|
|
struct SellerRating : public Rating {
|
|
std::string seller_id;
|
|
unsigned int score;
|
|
};
|
|
|
|
}
|