Add TypeEntity

This commit is contained in:
2024-11-18 13:11:44 +01:00
parent 3e1e5663b5
commit 973da40603
3 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package ltd.hlaeja.entity
import java.time.ZonedDateTime
import java.util.UUID
import org.springframework.data.annotation.Id
import org.springframework.data.relational.core.mapping.Table
@Table("types")
data class TypeEntity(
@Id
val id: UUID? = null,
val timestamp: ZonedDateTime,
val name: String,
)