School Commit Init

This commit is contained in:
2024-08-31 12:07:21 +03:00
commit 0b130ee18c
2801 changed files with 4720552 additions and 0 deletions
@@ -0,0 +1,25 @@
#pragma once
#include "domain.h"
#include <vector>
#include <assert.h>
class Repository{
private:
std::vector<Bill> _bills;
public:
Repository();
~Repository();
/*
Add function
Input: bill - Bill
Output: true - if the bill was added
false - if the bill was not added
*/
bool add(Bill bill);
std::vector<Bill>::iterator begin();
std::vector<Bill>::iterator end();
std::vector<Bill> bills();
};
void test_repository();