refactor: packages
This commit is contained in:
parent
56e5928e4b
commit
f2e39bb8d7
11 changed files with 13 additions and 11 deletions
|
@ -1,5 +1,7 @@
|
||||||
package com.application.munera.data;
|
package com.application.munera.data;
|
||||||
|
|
||||||
|
import com.application.munera.data.enums.ExpenseType;
|
||||||
|
import com.application.munera.data.enums.PeriodUnit;
|
||||||
import jakarta.persistence.*;
|
import jakarta.persistence.*;
|
||||||
import jakarta.validation.constraints.Size;
|
import jakarta.validation.constraints.Size;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
|
@ -7,7 +9,6 @@ import lombok.Setter;
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.time.LocalDate;
|
import java.time.LocalDate;
|
||||||
import java.time.LocalDateTime;
|
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
@Getter
|
@Getter
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package com.application.munera.data;
|
package com.application.munera.data;
|
||||||
|
|
||||||
|
import com.application.munera.data.enums.Role;
|
||||||
import jakarta.persistence.*;
|
import jakarta.persistence.*;
|
||||||
import jakarta.validation.constraints.Email;
|
import jakarta.validation.constraints.Email;
|
||||||
import jakarta.validation.constraints.Size;
|
import jakarta.validation.constraints.Size;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.application.munera.data;
|
package com.application.munera.data.enums;
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.application.munera.data;
|
package com.application.munera.data.enums;
|
||||||
|
|
||||||
public enum ExpenseType {
|
public enum ExpenseType {
|
||||||
CREDIT,
|
CREDIT,
|
|
@ -1,4 +1,4 @@
|
||||||
package com.application.munera.data;
|
package com.application.munera.data.enums;
|
||||||
|
|
||||||
|
|
||||||
public enum PeriodUnit {
|
public enum PeriodUnit {
|
|
@ -1,4 +1,4 @@
|
||||||
package com.application.munera.data;
|
package com.application.munera.data.enums;
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
|
|
|
@ -2,7 +2,7 @@ package com.application.munera.repositories;
|
||||||
|
|
||||||
|
|
||||||
import com.application.munera.data.Expense;
|
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.JpaRepository;
|
||||||
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
|
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
|
||||||
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.jpa.repository.Query;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package com.application.munera.services;
|
package com.application.munera.services;
|
||||||
|
|
||||||
import com.application.munera.data.Expense;
|
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.data.Person;
|
||||||
import com.application.munera.repositories.ExpenseRepository;
|
import com.application.munera.repositories.ExpenseRepository;
|
||||||
import com.application.munera.repositories.PersonRepository;
|
import com.application.munera.repositories.PersonRepository;
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package com.application.munera.services;
|
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.Category;
|
||||||
import com.application.munera.data.Expense;
|
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.combobox.MultiSelectComboBox;
|
||||||
import com.vaadin.flow.component.html.Span;
|
import com.vaadin.flow.component.html.Span;
|
||||||
import com.vaadin.flow.component.textfield.TextField;
|
import com.vaadin.flow.component.textfield.TextField;
|
||||||
|
|
|
@ -2,7 +2,7 @@ package com.application.munera.views.expenses;
|
||||||
|
|
||||||
import com.application.munera.data.Category;
|
import com.application.munera.data.Category;
|
||||||
import com.application.munera.data.Expense;
|
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.data.Person;
|
||||||
import com.application.munera.facades.PersonFacade;
|
import com.application.munera.facades.PersonFacade;
|
||||||
import com.application.munera.services.CategoryService;
|
import com.application.munera.services.CategoryService;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.application.munera.views.users;
|
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.data.User;
|
||||||
import com.application.munera.services.UserService;
|
import com.application.munera.services.UserService;
|
||||||
import com.application.munera.views.MainLayout;
|
import com.application.munera.views.MainLayout;
|
||||||
|
|
Loading…
Reference in a new issue