Skip to content

Commit

Permalink
Service ConditionData + Interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Sewaaa committed Dec 27, 2023
1 parent 8eba4fe commit e55e96e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/java/model/service/condition/ConditionData.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package model.service.condition;

import model.DAO.DAOCondition;
import model.entity.Condition;

public class ConditionData implements ConditionDataInterface{

DAOCondition daoCondition=new DAOCondition();
public Condition getConditionByID(int id){return daoCondition.getConditionByID(id);}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package model.service.condition;

import model.entity.Condition;
import model.entity.User;

public interface ConditionDataInterface {

public Condition getConditionByID(int id);
}

0 comments on commit e55e96e

Please sign in to comment.