Skip to content

Commit

Permalink
Merge pull request #13 from team-xquare/12-add-user
Browse files Browse the repository at this point in the history
🔀 :: (XQUARE-12)add user
  • Loading branch information
meltapplee authored Mar 4, 2024
2 parents c626bc6 + 93ef1de commit 13adcb9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.xaquare.xquarebackoffice.domain.entity

import com.xaquare.xquarebackoffice.infrastructure.user.BaseUUIDEntity
import com.xaquare.xquarebackoffice.global.base.BaseUUIDEntity
import java.util.UUID
import javax.persistence.Column
import javax.persistence.Entity
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package com.xaquare.xquarebackoffice.global.base

import java.util.UUID
import javax.persistence.Column
import javax.persistence.GeneratedValue
import javax.persistence.Id
import javax.persistence.MappedSuperclass

@MappedSuperclass
abstract class BaseUUIDEntity(
@Id
@GeneratedValue(generator = "uuid2")
@Column(
columnDefinition = "BINARY(16)",
nullable = false
)
val id: UUID?
)

0 comments on commit 13adcb9

Please sign in to comment.