Skip to content

Commit

Permalink
fix: 숙소 옵션, 룸 옵션에 @entity 추가
Browse files Browse the repository at this point in the history
숙소 옵션, 룸 옵션에 @entity 어노테이션 추가
  • Loading branch information
Hwang-Kyu-Cheol committed Jan 3, 2024
1 parent 7d568b0 commit 40ecd97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package kr.co.fastcampus.yanabada.domain.accommodation.entity;

import jakarta.persistence.Entity;
import jakarta.persistence.FetchType;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
Expand All @@ -14,6 +15,7 @@
@Getter
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@Table(name = "accommodation_option")
@Entity
public class AccommodationOption {

@Id
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package kr.co.fastcampus.yanabada.domain.accommodation.entity;

import jakarta.persistence.Entity;
import jakarta.persistence.FetchType;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
Expand All @@ -14,6 +15,7 @@
@Getter
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@Table(name = "room_option")
@Entity
public class RoomOption {

@Id
Expand Down

0 comments on commit 40ecd97

Please sign in to comment.