From c2b1b8e4b77ca5eba8e3053a02c928de3cdba636 Mon Sep 17 00:00:00 2001 From: hyeonda02 Date: Sat, 27 Jul 2024 01:29:20 +0900 Subject: [PATCH] =?UTF-8?q?Feat=20:=20Career=20=ED=99=9C=EB=8F=99=20?= =?UTF-8?q?=EA=B8=B0=EB=A1=9D=20=EC=97=94=ED=8B=B0=ED=8B=B0=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../careerdetail/domain/CareerDetail.java | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/main/java/umc/kkijuk/server/careerdetail/domain/CareerDetail.java diff --git a/src/main/java/umc/kkijuk/server/careerdetail/domain/CareerDetail.java b/src/main/java/umc/kkijuk/server/careerdetail/domain/CareerDetail.java new file mode 100644 index 00000000..35078911 --- /dev/null +++ b/src/main/java/umc/kkijuk/server/careerdetail/domain/CareerDetail.java @@ -0,0 +1,25 @@ +package umc.kkijuk.server.careerdetail.domain; + +import jakarta.persistence.*; +import lombok.*; +import umc.kkijuk.server.career.domain.base.BaseEntity; + +import java.time.LocalDate; + +@Entity +@Getter +@Builder +@AllArgsConstructor(access = AccessLevel.PROTECTED) +@NoArgsConstructor(access = AccessLevel.PROTECTED) +public class CareerDetail extends BaseEntity { + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + @Column(name="career_detail_id") + private Long id; + @Column(name="career_detail_name", length = 30) + private String name; + @Column(name="career_detail_content", length = 800) + private String content; + @Column(name="career_detail_date") + private LocalDate date; +}