Переименовал
This commit is contained in:
parent
d9a7e09e22
commit
b79c3c7cfe
4
pom.xml
4
pom.xml
@ -4,7 +4,9 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>consultant-core</artifactId>
|
||||
<groupId>org.sadtech.autoresponder</groupId>
|
||||
<artifactId>core</artifactId>
|
||||
<version>0.1-SNAPSHOT</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.sadtech.consultant;
|
||||
package org.sadtech.autoresponder;
|
||||
|
||||
public interface MessageSender {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.sadtech.consultant.database.entity;
|
||||
package org.sadtech.autoresponder.database.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
@ -1,10 +1,9 @@
|
||||
package org.sadtech.consultant.database.entity;
|
||||
package org.sadtech.autoresponder.database.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Table;
|
||||
|
||||
@Entity
|
||||
@Data
|
@ -1,4 +1,4 @@
|
||||
package org.sadtech.consultant.database.entity;
|
||||
package org.sadtech.autoresponder.database.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.sadtech.consultant.database.entity;
|
||||
package org.sadtech.autoresponder.database.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.sadtech.consultant.database.entity;
|
||||
package org.sadtech.autoresponder.database.entity;
|
||||
|
||||
import lombok.Data;
|
||||
|
@ -1,6 +1,6 @@
|
||||
package org.sadtech.consultant.database.repository;
|
||||
package org.sadtech.autoresponder.database.repository;
|
||||
|
||||
import org.sadtech.consultant.database.entity.Mail;
|
||||
import org.sadtech.autoresponder.database.entity.Mail;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.data.jpa.repository.Query;
|
||||
import org.springframework.data.repository.query.Param;
|
@ -1,6 +1,6 @@
|
||||
package org.sadtech.consultant.database.repository;
|
||||
package org.sadtech.autoresponder.database.repository;
|
||||
|
||||
import org.sadtech.consultant.database.entity.NextUnit;
|
||||
import org.sadtech.autoresponder.database.entity.NextUnit;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
|
||||
public interface NextUnitRepository extends JpaRepository<NextUnit, Long> {
|
@ -1,6 +1,6 @@
|
||||
package org.sadtech.consultant.database.repository;
|
||||
package org.sadtech.autoresponder.database.repository;
|
||||
|
||||
import org.sadtech.consultant.database.entity.Person;
|
||||
import org.sadtech.autoresponder.database.entity.Person;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.data.jpa.repository.Query;
|
||||
import org.springframework.data.repository.query.Param;
|
@ -1,6 +1,6 @@
|
||||
package org.sadtech.consultant.database.repository;
|
||||
package org.sadtech.autoresponder.database.repository;
|
||||
|
||||
import org.sadtech.consultant.database.entity.SaveUnit;
|
||||
import org.sadtech.autoresponder.database.entity.SaveUnit;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
|
||||
public interface SaveUnitRepositoriy extends JpaRepository<SaveUnit, Long> {
|
@ -1,6 +1,6 @@
|
||||
package org.sadtech.consultant.database.repository;
|
||||
package org.sadtech.autoresponder.database.repository;
|
||||
|
||||
import org.sadtech.consultant.database.entity.Unit;
|
||||
import org.sadtech.autoresponder.database.entity.Unit;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
|
||||
public interface UnitRepositoriy extends JpaRepository<Unit, Long> {
|
@ -1,6 +1,6 @@
|
||||
package org.sadtech.consultant.database.service;
|
||||
package org.sadtech.autoresponder.database.service;
|
||||
|
||||
import org.sadtech.consultant.database.entity.Mail;
|
||||
import org.sadtech.autoresponder.database.entity.Mail;
|
||||
|
||||
import java.util.List;
|
||||
|
@ -0,0 +1,4 @@
|
||||
package org.sadtech.autoresponder.database.service;
|
||||
|
||||
public interface NextUnitService {
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
package org.sadtech.consultant.database.service;
|
||||
package org.sadtech.autoresponder.database.service;
|
||||
|
||||
import org.sadtech.consultant.database.entity.Person;
|
||||
import org.sadtech.autoresponder.database.entity.Person;
|
||||
|
||||
import java.util.Map;
|
||||
|
@ -0,0 +1,4 @@
|
||||
package org.sadtech.autoresponder.database.service;
|
||||
|
||||
public interface SaveUnitService {
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package org.sadtech.autoresponder.database.service;
|
||||
|
||||
import org.sadtech.autoresponder.database.entity.Unit;
|
||||
|
||||
public interface UnitService {
|
||||
|
||||
void addUnit(Unit unit);
|
||||
|
||||
void removeUnit(Long id);
|
||||
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
package org.sadtech.consultant.database.service.impl;
|
||||
package org.sadtech.autoresponder.database.service.impl;
|
||||
|
||||
import org.sadtech.consultant.database.entity.Mail;
|
||||
import org.sadtech.consultant.database.repository.MailRepository;
|
||||
import org.sadtech.consultant.database.service.MailService;
|
||||
import org.sadtech.autoresponder.database.entity.Mail;
|
||||
import org.sadtech.autoresponder.database.repository.MailRepository;
|
||||
import org.sadtech.autoresponder.database.service.MailService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
@ -1,7 +1,7 @@
|
||||
package org.sadtech.consultant.database.service.impl;
|
||||
package org.sadtech.autoresponder.database.service.impl;
|
||||
|
||||
import org.sadtech.consultant.database.repository.NextUnitRepository;
|
||||
import org.sadtech.consultant.database.service.NextUnitService;
|
||||
import org.sadtech.autoresponder.database.repository.NextUnitRepository;
|
||||
import org.sadtech.autoresponder.database.service.NextUnitService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
@ -1,8 +1,8 @@
|
||||
package org.sadtech.consultant.database.service.impl;
|
||||
package org.sadtech.autoresponder.database.service.impl;
|
||||
|
||||
import org.sadtech.consultant.database.repository.PersonRepository;
|
||||
import org.sadtech.consultant.database.entity.Person;
|
||||
import org.sadtech.consultant.database.service.PersonService;
|
||||
import org.sadtech.autoresponder.database.repository.PersonRepository;
|
||||
import org.sadtech.autoresponder.database.entity.Person;
|
||||
import org.sadtech.autoresponder.database.service.PersonService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
@ -1,7 +1,7 @@
|
||||
package org.sadtech.consultant.database.service.impl;
|
||||
package org.sadtech.autoresponder.database.service.impl;
|
||||
|
||||
import org.sadtech.consultant.database.repository.SaveUnitRepositoriy;
|
||||
import org.sadtech.consultant.database.service.SaveUnitService;
|
||||
import org.sadtech.autoresponder.database.repository.SaveUnitRepositoriy;
|
||||
import org.sadtech.autoresponder.database.service.SaveUnitService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
@ -1,8 +1,8 @@
|
||||
package org.sadtech.consultant.database.service.impl;
|
||||
package org.sadtech.autoresponder.database.service.impl;
|
||||
|
||||
import org.sadtech.consultant.database.repository.UnitRepositoriy;
|
||||
import org.sadtech.consultant.database.entity.Unit;
|
||||
import org.sadtech.consultant.database.service.UnitService;
|
||||
import org.sadtech.autoresponder.database.repository.UnitRepositoriy;
|
||||
import org.sadtech.autoresponder.database.entity.Unit;
|
||||
import org.sadtech.autoresponder.database.service.UnitService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
@ -1,9 +1,9 @@
|
||||
package org.sadtech.consultant.processing;
|
||||
package org.sadtech.autoresponder.processing;
|
||||
|
||||
import lombok.extern.log4j.Log4j;
|
||||
import org.sadtech.consultant.database.entity.Mail;
|
||||
import org.sadtech.consultant.MessageSender;
|
||||
import org.sadtech.consultant.database.entity.Person;
|
||||
import org.sadtech.autoresponder.database.entity.Mail;
|
||||
import org.sadtech.autoresponder.MessageSender;
|
||||
import org.sadtech.autoresponder.database.entity.Person;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
@ -1,7 +1,7 @@
|
||||
package org.sadtech.consultant.processing;
|
||||
package org.sadtech.autoresponder.processing;
|
||||
|
||||
import org.sadtech.consultant.database.entity.Mail;
|
||||
import org.sadtech.consultant.database.service.MailService;
|
||||
import org.sadtech.autoresponder.database.entity.Mail;
|
||||
import org.sadtech.autoresponder.database.service.MailService;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
@ -1,8 +1,8 @@
|
||||
package org.sadtech.consultant.processing;
|
||||
package org.sadtech.autoresponder.processing;
|
||||
|
||||
import lombok.extern.log4j.Log4j;
|
||||
import org.sadtech.consultant.database.entity.Person;
|
||||
import org.sadtech.consultant.database.service.PersonService;
|
||||
import org.sadtech.autoresponder.database.entity.Person;
|
||||
import org.sadtech.autoresponder.database.service.PersonService;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Log4j
|
@ -1,4 +0,0 @@
|
||||
package org.sadtech.consultant.database.service;
|
||||
|
||||
public interface NextUnitService {
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
package org.sadtech.consultant.database.service;
|
||||
|
||||
public interface SaveUnitService {
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
package org.sadtech.consultant.database.service;
|
||||
|
||||
import org.sadtech.consultant.database.entity.Unit;
|
||||
|
||||
public interface UnitService {
|
||||
|
||||
void addUnit(Unit unit);
|
||||
|
||||
void removeUnit(Long id);
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user