refactor: packages

This commit is contained in:
effe 2024-09-15 17:18:51 -04:00
parent 56e5928e4b
commit f2e39bb8d7
11 changed files with 13 additions and 11 deletions

View file

@ -1,5 +1,7 @@
package com.application.munera.data;
import com.application.munera.data.enums.ExpenseType;
import com.application.munera.data.enums.PeriodUnit;
import jakarta.persistence.*;
import jakarta.validation.constraints.Size;
import lombok.Getter;
@ -7,7 +9,6 @@ import lombok.Setter;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
@Entity
@Getter

View file

@ -1,5 +1,6 @@
package com.application.munera.data;
import com.application.munera.data.enums.Role;
import jakarta.persistence.*;
import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.Size;

View file

@ -1,4 +1,4 @@
package com.application.munera.data;
package com.application.munera.data.enums;
import lombok.Getter;

View file

@ -1,4 +1,4 @@
package com.application.munera.data;
package com.application.munera.data.enums;
public enum ExpenseType {
CREDIT,

View file

@ -1,4 +1,4 @@
package com.application.munera.data;
package com.application.munera.data.enums;
public enum PeriodUnit {

View file

@ -1,4 +1,4 @@
package com.application.munera.data;
package com.application.munera.data.enums;
import lombok.Getter;

View file

@ -2,7 +2,7 @@ package com.application.munera.repositories;
import com.application.munera.data.Expense;
import com.application.munera.data.ExpenseType;
import com.application.munera.data.enums.ExpenseType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

View file

@ -1,7 +1,7 @@
package com.application.munera.services;
import com.application.munera.data.Expense;
import com.application.munera.data.ExpenseType;
import com.application.munera.data.enums.ExpenseType;
import com.application.munera.data.Person;
import com.application.munera.repositories.ExpenseRepository;
import com.application.munera.repositories.PersonRepository;

View file

@ -1,9 +1,9 @@
package com.application.munera.services;
import com.application.munera.data.BadgeMessage;
import com.application.munera.data.enums.BadgeMessage;
import com.application.munera.data.Category;
import com.application.munera.data.Expense;
import com.application.munera.data.ExpenseType;
import com.application.munera.data.enums.ExpenseType;
import com.vaadin.flow.component.combobox.MultiSelectComboBox;
import com.vaadin.flow.component.html.Span;
import com.vaadin.flow.component.textfield.TextField;

View file

@ -2,7 +2,7 @@ package com.application.munera.views.expenses;
import com.application.munera.data.Category;
import com.application.munera.data.Expense;
import com.application.munera.data.PeriodUnit;
import com.application.munera.data.enums.PeriodUnit;
import com.application.munera.data.Person;
import com.application.munera.facades.PersonFacade;
import com.application.munera.services.CategoryService;

View file

@ -1,6 +1,6 @@
package com.application.munera.views.users;
import com.application.munera.data.Role;
import com.application.munera.data.enums.Role;
import com.application.munera.data.User;
import com.application.munera.services.UserService;
import com.application.munera.views.MainLayout;