Skip to content

Commit

Permalink
chore: (#286) 누락된 @aggregate 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
softpeanut committed Jan 9, 2023
1 parent b69c08c commit ad1379e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package team.comit.simtong.domain.file.model

import team.comit.simtong.global.annotation.Aggregate

/**
*
* EmployeeCertificate Aggregate Root를 담당하는 EmployeeCertificate
Expand All @@ -9,6 +11,7 @@ package team.comit.simtong.domain.file.model
* @date 2022/12/06
* @version 1.0.0
**/
@Aggregate
data class EmployeeCertificate(
val employeeNumber: Int,

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package team.comit.simtong.domain.holiday.model

import team.comit.simtong.global.annotation.Aggregate
import java.time.LocalDate
import java.util.UUID

Expand All @@ -11,6 +12,7 @@ import java.util.UUID
* @date 2022/12/20
* @version 1.0.0
**/
@Aggregate
data class HolidayPeriod(
val year: Int,

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package team.comit.simtong.domain.notification.model

import team.comit.simtong.global.annotation.Aggregate
import java.time.LocalDateTime
import java.util.UUID

Expand All @@ -11,6 +12,7 @@ import java.util.UUID
* @date 2022/12/29
* @version 1.1.0
**/
@Aggregate
data class Notification(
val id: UUID = UUID(0, 0),

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package team.comit.simtong.domain.notification.model

import team.comit.simtong.global.annotation.Aggregate
import java.time.LocalDateTime
import java.util.UUID

Expand All @@ -11,8 +12,11 @@ import java.util.UUID
* @date 2022/12/29
* @version 1.1.0
**/
@Aggregate
data class NotificationReceiver(
val userId: UUID,

val notificationId: UUID,

val checkedAt: LocalDateTime? = null
)

0 comments on commit ad1379e

Please sign in to comment.