Skip to content
Snippets Groups Projects
Commit 1e8bc39b authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#598 - InternalDatabase is no longer used for json serialization

parent a70790f1
No related branches found
No related tags found
No related merge requests found
package de.deadlocker8.budgetmaster.database; package de.deadlocker8.budgetmaster.database;
import com.google.gson.annotations.Expose;
import de.deadlocker8.budgetmaster.accounts.Account; import de.deadlocker8.budgetmaster.accounts.Account;
import de.deadlocker8.budgetmaster.accounts.AccountType; import de.deadlocker8.budgetmaster.accounts.AccountType;
import de.deadlocker8.budgetmaster.categories.Category; import de.deadlocker8.budgetmaster.categories.Category;
...@@ -17,28 +16,11 @@ import java.util.stream.Collectors; ...@@ -17,28 +16,11 @@ import java.util.stream.Collectors;
public class InternalDatabase public class InternalDatabase
{ {
@Expose
private final String TYPE = "BUDGETMASTER_DATABASE";
@Expose
private final int VERSION = 5;
@Expose
private List<Category> categories; private List<Category> categories;
@Expose
private List<Account> accounts; private List<Account> accounts;
@Expose
private List<Transaction> transactions; private List<Transaction> transactions;
@Expose
private List<Template> templates; private List<Template> templates;
@Expose
private List<Chart> charts; private List<Chart> charts;
@Expose
private List<Image> images; private List<Image> images;
public InternalDatabase() public InternalDatabase()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment