Skip to content

Commit

Permalink
Init: (#18) BaseIdEntity 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
KMS06 committed Oct 16, 2023
1 parent cb97a0e commit 0006fe9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/main/kotlin/team/sfe/server/global/entity/BaseIdEntity.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package team.sfe.server.global.entity

import jakarta.persistence.*
import java.math.BigInteger

@MappedSuperclass
abstract class BaseIDEntity(

@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "id", nullable = false)
val id: BigInteger

)

0 comments on commit 0006fe9

Please sign in to comment.