feat(recommend): 추천 크리에이터 동시 팔로우 서비스를 추가한다

This commit is contained in:
2026-06-01 10:19:38 +09:00
parent 82b2eb75d4
commit 8300b1875c
4 changed files with 294 additions and 1 deletions

View File

@@ -6,9 +6,19 @@ import javax.persistence.Entity
import javax.persistence.FetchType
import javax.persistence.JoinColumn
import javax.persistence.ManyToOne
import javax.persistence.Table
import javax.persistence.UniqueConstraint
@Entity
data class CreatorFollowing(
@Table(
uniqueConstraints = [
UniqueConstraint(
name = "uk_creator_following_member_creator",
columnNames = ["member_id", "creator_id"]
)
]
)
class CreatorFollowing(
var isNotify: Boolean = true,
var isActive: Boolean = true
) : BaseEntity() {