- Timestamp:
- 10/12/24 21:32:15 (5 weeks ago)
- Branches:
- master
- Parents:
- 743de55
- Location:
- src/main/java/finki/it/terapijamkbackend/spring/entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/finki/it/terapijamkbackend/spring/entities/Appointment.java
r743de55 r43c9090 26 26 private Long id; 27 27 28 @ManyToOne(fetch = FetchType.LAZY) // Fetch the related entity lazily to avoid loading all properties28 @ManyToOne(fetch = FetchType.LAZY) 29 29 @JoinColumn(name="request_id", referencedColumnName = "id") 30 30 @JsonIgnore -
src/main/java/finki/it/terapijamkbackend/spring/entities/Event.java
r743de55 r43c9090 25 25 26 26 private String title; 27 @Lob 28 @Column(name = "text", columnDefinition = "TEXT") 27 29 private String text; 28 @Lob // Indicates that this field can hold large data29 @Column(name = "img_src", columnDefinition = "TEXT") // Ensure column type is TEXT in database30 @Lob 31 @Column(name = "img_src", columnDefinition = "TEXT") 30 32 private String imgSrc; 31 33
Note:
See TracChangeset
for help on using the changeset viewer.