Skip to content

Commit

Permalink
refactor: 채팅방 BaseEntity 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Leehunil committed Dec 4, 2024
1 parent 64214e3 commit e718870
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/palettee/chat_room/domain/ChatRoom.java
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package com.palettee.chat_room.domain;

import com.palettee.global.entity.BaseEntity;
import jakarta.persistence.*;
import lombok.*;

@Getter
@Entity
@NoArgsConstructor(access = AccessLevel.PROTECTED)
public class ChatRoom {
public class ChatRoom extends BaseEntity {
@Id @GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "chat_room_id", nullable = false)
private Long id;
Expand Down

0 comments on commit e718870

Please sign in to comment.