Created the initial NotationDao and NotationDto, and NotationManager
This commit is contained in:
@@ -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;
|
||||
|
||||
import dao.DefinitionDao;
|
||||
import dao.NotationDao;
|
||||
import dao.ProofDao;
|
||||
import dao.TheoremDao;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
@@ -27,4 +28,9 @@ public class ManagerConfig {
|
||||
public ProofManager proofManager() {
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user