- Timestamp:
- 05/24/23 23:18:47 (18 months ago)
- Branches:
- master
- Children:
- 77205be
- Parents:
- 8bcd64c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/edu/gjoko/schedlr/entity/Appointment.java
r8bcd64c r950fa0d 24 24 private Long id; 25 25 26 @Column(name = "start_t ype")26 @Column(name = "start_time") 27 27 private LocalDateTime startTime; 28 28 … … 30 30 private LocalDateTime endTime; 31 31 32 @Column(name = "price") 33 private Float price; 32 @OneToOne 33 @JoinColumn(name = "customer_id", referencedColumnName = "id") 34 private Stakeholder customer; 35 36 @ManyToOne 37 @JoinColumn(name = "business_id") 38 private Business business; 39 40 @ManyToOne 41 @JoinColumn(name = "service_id") 42 private Service service; 34 43 35 44 @Column(name = "created")
Note:
See TracChangeset
for help on using the changeset viewer.