Compare commits
3 Commits
master
...
feature/pr
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
af0bf3a015 | ||
|
|
13cd4af1a6 | ||
|
|
f89514ca24 |
@@ -0,0 +1,17 @@
|
||||
package de.ul.swtp.modules.protocolmanagement;
|
||||
|
||||
import de.ul.swtp.modules.contactmanagement.Contact;
|
||||
|
||||
import java.security.Signature;
|
||||
import java.sql.Timestamp;
|
||||
import java.util.List;
|
||||
|
||||
public class Protocol {
|
||||
private List<Contact> presentMembers;
|
||||
private List<Contact> authors;
|
||||
private List<ProtocolEntry> entries;
|
||||
private Boolean isLocked;
|
||||
private Timestamp protocolDate;
|
||||
private Signature
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package de.ul.swtp.modules.protocolmanagement;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
public class ProtocolEntry {
|
||||
private Timestamp time;
|
||||
private String text;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package de.ul.swtp.modules.protocolmanagement;
|
||||
|
||||
public interface ProtocolManager {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package de.ul.swtp.modules.protocolmanagement;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
public class ProtocolManagerImpl {
|
||||
|
||||
private ProtocolRepository protocolRepository;
|
||||
|
||||
@Autowired
|
||||
public ProtocolManagerImpl(ProtocolRepository protocolRepository) {
|
||||
this.protocolRepository = protocolRepository;
|
||||
}
|
||||
|
||||
public void createProtocol() {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package de.ul.swtp.modules.protocolmanagement;
|
||||
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.data.repository.PagingAndSortingRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface ProtocolRepository extends JpaRepository<Protocol, Long> {}
|
||||
Reference in New Issue
Block a user