CCash/include/transaction.h
2021-07-13 20:25:58 -07:00

14 lines
315 B
C++

#pragma once
#include <string>
#include <cstdint>
#include <ctime>
struct Transaction
{
std::string from = "", to = "";
uint32_t amount = 0;
time_t time = 0;
Transaction() noexcept;
Transaction(const std::string &from_str, const std::string &to_str, uint32_t amount, time_t time) noexcept;
};