Files
Card-Collection-Manager-3/core/include/ccm/domain/Set.hpp
T
Sebastian Dine 55ace147bc major: initial release
* initial development

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* pipeline

* ci/cd

* ci/cd

* ci/cd

* ci/cd

* ci/cd

* ci/cd

* ci/cd

* pokemon

* pokemon

* pokemon

* pokemon

* pokemon

* pokemon

* improvements

* improvements

* ci/cd

* ci/cd

* improvements

* improvements

* improvements

* improvements

* improvements

* improvements

* improvements

* improvements

* improvements

---------

Co-authored-by: sdine <sdine@sdine.com>
2026-05-09 11:05:47 +02:00

25 lines
573 B
C++

#pragma once
// Set: identifier of a printing run shared by both supported games.
// JSON shape matches the original Rust Set struct exactly:
// { "id": "...", "name": "...", "releaseDate": "YYYY/MM/DD" }
#include <nlohmann/json.hpp>
#include <string>
namespace ccm {
struct Set {
std::string id;
std::string name;
std::string releaseDate; // formatted as "YYYY/MM/DD"
friend bool operator==(const Set&, const Set&) = default;
};
void to_json(nlohmann::json& j, const Set& s);
void from_json(const nlohmann::json& j, Set& s);
} // namespace ccm