From 075a7823618d0f9a34e7d8aeba0b2efc04e11c20 Mon Sep 17 00:00:00 2001 From: hen715 Date: Thu, 2 May 2024 14:34:20 +0900 Subject: [PATCH] =?UTF-8?q?[Refactor]=20=ED=85=8C=EC=9D=B4=EB=B8=94?= =?UTF-8?q?=EB=AA=85=20=EB=AA=85=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/kr/inuappcenterportal/inuportal/domain/Fire.java | 2 +- .../java/kr/inuappcenterportal/inuportal/domain/Notice.java | 2 +- .../java/kr/inuappcenterportal/inuportal/domain/Post.java | 2 +- .../java/kr/inuappcenterportal/inuportal/domain/Reply.java | 2 +- .../java/kr/inuappcenterportal/inuportal/domain/Schedule.java | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/kr/inuappcenterportal/inuportal/domain/Fire.java b/src/main/java/kr/inuappcenterportal/inuportal/domain/Fire.java index c7e2b2e..36f8b82 100644 --- a/src/main/java/kr/inuappcenterportal/inuportal/domain/Fire.java +++ b/src/main/java/kr/inuappcenterportal/inuportal/domain/Fire.java @@ -17,7 +17,7 @@ public class Fire extends BaseTimeEntity{ @Column private String duration; - @Column + @Column(name = "average_duration") private String averageDuration; @Column private Integer point; diff --git a/src/main/java/kr/inuappcenterportal/inuportal/domain/Notice.java b/src/main/java/kr/inuappcenterportal/inuportal/domain/Notice.java index 36e4720..1efced4 100644 --- a/src/main/java/kr/inuappcenterportal/inuportal/domain/Notice.java +++ b/src/main/java/kr/inuappcenterportal/inuportal/domain/Notice.java @@ -25,7 +25,7 @@ public class Notice { @Column private String writer; - @Column + @Column(name="create_date") private String createDate; @Column Long view; diff --git a/src/main/java/kr/inuappcenterportal/inuportal/domain/Post.java b/src/main/java/kr/inuappcenterportal/inuportal/domain/Post.java index 258138d..5175b59 100644 --- a/src/main/java/kr/inuappcenterportal/inuportal/domain/Post.java +++ b/src/main/java/kr/inuappcenterportal/inuportal/domain/Post.java @@ -44,7 +44,7 @@ public class Post extends BaseTimeEntity { @Column private Long view; - @Column + @Column(name="image_count") private Long imageCount; diff --git a/src/main/java/kr/inuappcenterportal/inuportal/domain/Reply.java b/src/main/java/kr/inuappcenterportal/inuportal/domain/Reply.java index 2dbe4aa..351d538 100644 --- a/src/main/java/kr/inuappcenterportal/inuportal/domain/Reply.java +++ b/src/main/java/kr/inuappcenterportal/inuportal/domain/Reply.java @@ -25,7 +25,7 @@ public class Reply extends BaseTimeEntity{ @Column private Boolean anonymous; - @Column + @Column(name = "is_deleted") private Boolean isDeleted; @Column diff --git a/src/main/java/kr/inuappcenterportal/inuportal/domain/Schedule.java b/src/main/java/kr/inuappcenterportal/inuportal/domain/Schedule.java index f2bb66e..bb6a971 100644 --- a/src/main/java/kr/inuappcenterportal/inuportal/domain/Schedule.java +++ b/src/main/java/kr/inuappcenterportal/inuportal/domain/Schedule.java @@ -17,10 +17,10 @@ public class Schedule { @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; - @Column + @Column(name="start_date") private LocalDate startDate; - @Column + @Column(name="end_date") private LocalDate endDate; @Column