Skip to content

Commit

Permalink
feat: StudyAchievement가 BaseEntity 확장하도록 수정 (#813)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sangwook02 authored Nov 1, 2024
1 parent 6460f58 commit b4e158b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.gdschongik.gdsc.domain.study.domain;

import com.gdschongik.gdsc.domain.common.model.BaseEntity;
import com.gdschongik.gdsc.domain.member.domain.Member;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
Expand All @@ -22,7 +23,7 @@
@Entity
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@Table(uniqueConstraints = {@UniqueConstraint(columnNames = {"member_id", "study_id", "achievement_type"})})
public class StudyAchievement {
public class StudyAchievement extends BaseEntity {

@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
Expand Down

0 comments on commit b4e158b

Please sign in to comment.