Created the initial NotationDao and NotationDto, and NotationManager

This commit is contained in:
2019-02-03 19:09:46 -07:00
parent 52e08d61d0
commit ae9b27d941
4 changed files with 25 additions and 0 deletions
@@ -0,0 +1,4 @@
package dao;
public class NotationDao extends BaseDao {
}
@@ -0,0 +1,4 @@
package dto;
public class NotationDto extends BaseDto {
}
@@ -1,6 +1,7 @@
package manager; package manager;
import dao.DefinitionDao; import dao.DefinitionDao;
import dao.NotationDao;
import dao.ProofDao; import dao.ProofDao;
import dao.TheoremDao; import dao.TheoremDao;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
@@ -27,4 +28,9 @@ public class ManagerConfig {
public ProofManager proofManager() { public ProofManager proofManager() {
return new ProofManager(new ProofDao()); return new ProofManager(new ProofDao());
} }
@Bean
public NotationManager notationManager() {
return new NotationManager(new NotationDao());
}
} }
@@ -0,0 +1,11 @@
package manager;
import dao.NotationDao;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Component;
@Component
@AllArgsConstructor
class NotationManager {
final private NotationDao notationDao;
}