Skip to content

Commit

Permalink
Merge pull request #41 from Do-Farming/feat/minjoo/dailyMissionSchedu…
Browse files Browse the repository at this point in the history
…lar/#39

fix group entitiy 수정
  • Loading branch information
Minjoo-kang123 authored Jul 3, 2024
2 parents 2b9af23 + 94ba8fd commit 65f61b3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/com/hana/api/group/entity/Group.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import lombok.*;
import org.hibernate.annotations.ColumnDefault;

import java.time.LocalDateTime;
import java.util.List;

@Entity(name = "group")
Expand Down Expand Up @@ -45,6 +46,11 @@ public class Group extends BaseEntity {
@Column(nullable = false)
private String wakeupTime;

@Column
private LocalDateTime startedAt;
@Column
private LocalDateTime endeddAt;

@Column(nullable = false)
@ColumnDefault("0")
@Setter
Expand Down

0 comments on commit 65f61b3

Please sign in to comment.