Notification

@Entity
@SoftDelete(columnName = "is_deleted")
class Notification(val id: Long = 0, val title: String, val content: String, val receiver: User, val sender: String, var createdAt: Instant = Instant.now(), var updatedAt: Instant = Instant.now()) : AbstractAggregateRoot<Notification>

알림 엔티티

Constructors

Link copied to clipboard
constructor(id: Long = 0, title: String, content: String, receiver: User, sender: String, createdAt: Instant = Instant.now(), updatedAt: Instant = Instant.now())

Properties

Link copied to clipboard

알림 내용

Link copied to clipboard
Link copied to clipboard
val id: Long = 0

알림 ID

Link copied to clipboard

알림 수신자

Link copied to clipboard

전송 주체

Link copied to clipboard

알림 제목

Link copied to clipboard