Skip to content

Commit

Permalink
Consistent naming on the entities
Browse files Browse the repository at this point in the history
  • Loading branch information
Brutus5000 committed Oct 30, 2023
1 parent efb15de commit 4d5cc4c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import jakarta.persistence.Table

@Entity
@Table(name = "coturn_servers")
data class CoturnServer(
data class CoturnServerEntity(
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
val id: Long,
Expand All @@ -31,6 +31,6 @@ data class CoturnServer(
) : PanacheEntityBase

@Singleton
class CoturnServerRepository : PanacheRepository<CoturnServer> {
class CoturnServerRepository : PanacheRepository<CoturnServerEntity> {
fun findActive() = find("active").list()
}

0 comments on commit 4d5cc4c

Please sign in to comment.