Skip to content

Commit

Permalink
Rename 'dao' package to 'entity'.
Browse files Browse the repository at this point in the history
  • Loading branch information
cstroe committed Jan 22, 2020
1 parent f5607ba commit ff1f3bf
Show file tree
Hide file tree
Showing 16 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cloud.cosmin.checklister.dao
package cloud.cosmin.checklister.entity

import cloud.cosmin.checklister.lib.event.Event
import org.hibernate.annotations.DynamicInsert
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cloud.cosmin.checklister.dao
package cloud.cosmin.checklister.entity

import org.hibernate.annotations.DynamicInsert
import java.time.OffsetDateTime
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cloud.cosmin.checklister.dao
package cloud.cosmin.checklister.entity

import org.hibernate.annotations.Fetch
import org.hibernate.annotations.FetchMode
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package cloud.cosmin.checklister.repo

import cloud.cosmin.checklister.dao.EventEntity
import cloud.cosmin.checklister.entity.EventEntity
import org.springframework.data.repository.PagingAndSortingRepository
import java.util.UUID

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package cloud.cosmin.checklister.repo

import cloud.cosmin.checklister.dao.ItemEntity
import cloud.cosmin.checklister.entity.ItemEntity
import org.springframework.data.jpa.repository.Query
import org.springframework.data.repository.PagingAndSortingRepository
import java.time.OffsetDateTime
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package cloud.cosmin.checklister.repo

import cloud.cosmin.checklister.dao.ListEntity
import cloud.cosmin.checklister.entity.ListEntity
import org.springframework.data.repository.PagingAndSortingRepository

import java.util.UUID
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cloud.cosmin.checklister.service

import cloud.cosmin.checklister.dao.EventEntity
import cloud.cosmin.checklister.dao.ItemEntity
import cloud.cosmin.checklister.dao.ListEntity
import cloud.cosmin.checklister.entity.EventEntity
import cloud.cosmin.checklister.entity.ItemEntity
import cloud.cosmin.checklister.entity.ListEntity
import cloud.cosmin.checklister.lib.dto.EventDto
import cloud.cosmin.checklister.lib.dto.ItemGetDto
import cloud.cosmin.checklister.lib.dto.ListGetDto
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package cloud.cosmin.checklister.service

import cloud.cosmin.checklister.dao.ItemEntity
import cloud.cosmin.checklister.entity.ItemEntity
import cloud.cosmin.checklister.lib.dto.ItemGetDto
import cloud.cosmin.checklister.lib.dto.ItemPostDto
import cloud.cosmin.checklister.lib.event.model.RankOperation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package cloud.cosmin.checklister.service

import cloud.cosmin.checklister.dao.ListEntity
import cloud.cosmin.checklister.entity.ListEntity
import cloud.cosmin.checklister.lib.dto.ListGetDto
import cloud.cosmin.checklister.lib.dto.ListPostDto
import cloud.cosmin.checklister.lib.dto.ListWithItemsDto
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cloud.cosmin.checklister.service.event

import cloud.cosmin.checklister.config.EventConfig
import cloud.cosmin.checklister.dao.EventEntity
import cloud.cosmin.checklister.entity.EventEntity
import cloud.cosmin.checklister.lib.dto.EventDto
import cloud.cosmin.checklister.lib.event.Event
import cloud.cosmin.checklister.repo.EventRepo
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cloud.cosmin.checklister.dao
package cloud.cosmin.checklister.entity

import org.junit.jupiter.api.Assertions.*
import org.junit.jupiter.api.Test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cloud.cosmin.checklister.repo

import cloud.cosmin.checklister.dao.ItemEntity
import cloud.cosmin.checklister.dao.ListEntity
import cloud.cosmin.checklister.entity.ItemEntity
import cloud.cosmin.checklister.entity.ListEntity
import org.junit.Assert.assertEquals
import org.junit.Assert.assertTrue
import org.junit.Ignore
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package cloud.cosmin.checklister.repo

import cloud.cosmin.checklister.dao.ListEntity
import cloud.cosmin.checklister.entity.ListEntity
import org.junit.Assert.*
import org.junit.Ignore
import org.junit.Test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cloud.cosmin.checklister.service

import cloud.cosmin.checklister.dao.ItemEntity
import cloud.cosmin.checklister.dao.ListEntity
import cloud.cosmin.checklister.entity.ItemEntity
import cloud.cosmin.checklister.entity.ListEntity
import org.junit.Assert.assertEquals
import org.junit.Test
import java.time.OffsetDateTime
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cloud.cosmin.checklister.service

import cloud.cosmin.checklister.dao.ItemEntity
import cloud.cosmin.checklister.dao.ListEntity
import cloud.cosmin.checklister.entity.ItemEntity
import cloud.cosmin.checklister.entity.ListEntity
import cloud.cosmin.checklister.lib.dto.ItemGetDto
import cloud.cosmin.checklister.lib.dto.ItemPostDto
import cloud.cosmin.checklister.lib.event.model.RankOperation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package cloud.cosmin.checklister.service

import cloud.cosmin.checklister.dao.ListEntity
import cloud.cosmin.checklister.entity.ListEntity
import cloud.cosmin.checklister.lib.dto.ListGetDto
import cloud.cosmin.checklister.lib.dto.ListPostDto
import cloud.cosmin.checklister.repo.ListRepo
Expand Down

0 comments on commit ff1f3bf

Please sign in to comment.