- Timestamp:
- 01/09/24 01:26:08 (10 months ago)
- Branches:
- master
- Children:
- e272096
- Parents:
- b101b69
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/mk/ukim/finki/busngo/model/entities/Vozac.java
rb101b69 rbde8b13 4 4 import lombok.Data; 5 5 6 import java.util.List; 6 7 import java.util.Objects; 7 8 8 9 @Data 9 10 @Entity 10 public class Vozac { 11 @GeneratedValue(strategy = GenerationType.IDENTITY) 12 @Id 13 @Column(name = "k_id") 14 private Long kId; 15 @OneToOne 16 @JoinColumn(name = "k_id", referencedColumnName = "k_id", nullable = false) 17 private Korisnik korisnikByKId; 11 public class Vozac extends Vraboten { 12 @OneToMany(mappedBy = "korisnikByVozacKId") 13 private List<Instancanalinija> instancanalinijasByKId; 18 14 19 15 }
Note:
See TracChangeset
for help on using the changeset viewer.