Skip to content

Commit

Permalink
merge(AppointmentHostSelectionTimes): 약속 호스트 선택 시간 엔티티 구현
Browse files Browse the repository at this point in the history
[feat] 약속 호스트 선택 시간 엔티티 구현
  • Loading branch information
0-tae authored Feb 13, 2025
2 parents ed18632 + aacbe57 commit ee6075e
Showing 1 changed file with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
package org.noostak.appointment.domain;

import jakarta.persistence.*;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

import java.time.LocalDateTime;

@Entity
@Getter
@RequiredArgsConstructor
public class AppointmentHostSelectionTimes {

@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long appointmentHostSelectionTimeId;

@Column
private LocalDateTime appointmentHostSelectionDate;

@Column
private LocalDateTime appointmentHostSelectionStartTime;

@Column
private LocalDateTime appointmentHostSelectionEndTime;

// TODO:
// @ManyToOne(fetch = FetchType.LAZY)
// @JoinColumn(name = "appointment_id")
// private Appointment appointment;
}

0 comments on commit ee6075e

Please sign in to comment.