move money transaction interface
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
package com.faf223.expensetrackerfaf.model;
|
||||
import com.faf223.expensetrackerfaf.util.IMoneyTransaction;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import jakarta.persistence.*;
|
||||
import lombok.AllArgsConstructor;
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.faf223.expensetrackerfaf.model;
|
||||
|
||||
import com.faf223.expensetrackerfaf.model.User;
|
||||
|
||||
public interface IMoneyTransaction {
|
||||
|
||||
User getUser();
|
||||
int getAmount();
|
||||
String getCategory();
|
||||
|
||||
}
|
||||
@@ -1,6 +1,5 @@
|
||||
package com.faf223.expensetrackerfaf.model;
|
||||
|
||||
import com.faf223.expensetrackerfaf.util.IMoneyTransaction;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import jakarta.persistence.*;
|
||||
import lombok.AllArgsConstructor;
|
||||
|
||||
Reference in New Issue
Block a user