Add TypeEntity
This commit is contained in:
14
src/main/kotlin/ltd/hlaeja/entity/TypeEntity.kt
Normal file
14
src/main/kotlin/ltd/hlaeja/entity/TypeEntity.kt
Normal 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,
|
||||
)
|
||||
Reference in New Issue
Block a user