Changeset a436340 for src/main/java/edu/gjoko/schedlr/entity/Service.java
- Timestamp:
- 02/05/23 19:55:10 (21 months ago)
- Branches:
- master
- Children:
- 2b0a4db
- Parents:
- cc52b09
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/edu/gjoko/schedlr/entity/Service.java
rcc52b09 ra436340 1 1 package edu.gjoko.schedlr.entity; 2 2 3 import com.fasterxml.jackson.annotation.JsonBackReference; 3 4 import lombok.AllArgsConstructor; 4 5 import lombok.Getter; … … 35 36 private Float price; 36 37 38 @OneToOne 39 @JoinColumn(name = "service_type_id", referencedColumnName = "id") 40 private ServiceType serviceType; 41 37 42 @ManyToOne 38 @JoinColumn(name = "business_id") 43 @JoinColumn(name="business_fk") 44 @JsonBackReference 39 45 private Business business; 40 46
Note:
See TracChangeset
for help on using the changeset viewer.