Skip to content

Commit

Permalink
feat: created abstract class Repository
Browse files Browse the repository at this point in the history
  • Loading branch information
emilfa committed Feb 26, 2026
1 parent 98b995b commit aefd5ff
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/main/java/edu/group5/app/model/Repository.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package edu.group5.app.model;

/**
* Represents a repository
*/
public abstract class Repository {
protected final Object content;

public Repository(Object content) {
this.content = content;
}

/**
* Gets the content of the repo
* @return content of the repo
*/
public Object getContent() {
return content;
}
}

0 comments on commit aefd5ff

Please sign in to comment.