How to create Interview schedule rest API.
@ManyToOne annotation uses
Kindly review the mapping of interview class.
@Entity
@Table(name = "interview")
@Data
@Builder(toBuilder = true)
@NoArgsConstructor
@AllArgsConstructor
public class Interview {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private long id;
@ManyToOne(optional = false)
@JoinColumn(name = "candidate_id", referencedColumnName = "id")
private Candidate candidate;
@ManyToOne(optional = false)
@JoinColumn(name = "scheduler_id", referencedColumnName = "id")
private User scheduler;
@ManyToOne(optional = false)
@JoinColumn(name = "interviewer_id", referencedColumnName = "id")
private User interviewer;
private LocalDateTime dateTime;
@ManyToOne(optional = false)
@JoinColumn(name = "talent_id", referencedColumnName = "id")
private Talent talent;
@Enumerated(EnumType.STRING)
private InterviewStatus interviewStatus;
private String meetingLink;
}
On this page of the site you can watch the video online Creating schedule interview rest API. with a duration of hours minute second in good quality, which was uploaded by the user code glancer 11 February 2023, share the link with friends and acquaintances, this video has already been watched 371 times on youtube and it was liked by 14 viewers. Enjoy your viewing!