- 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/Kaznazaregistriran.java
rb101b69 rbde8b13 8 8 @Data 9 9 @Entity 10 public class Kaznazaregistriran { 11 @GeneratedValue(strategy = GenerationType.IDENTITY) 12 @Id 13 @Column(name = "kz_id") 14 private Long kzId; 15 @OneToOne 16 @JoinColumn(name = "kz_id", referencedColumnName = "kz_id", nullable = false) 17 private Kazna kaznaByKzId; 10 public class Kaznazaregistriran extends Kazna{ 18 11 @ManyToOne 19 12 @JoinColumn(name = "patnik_k_id", referencedColumnName = "k_id") 20 private Korisnik korisnikByPatnikKId;13 private Patnik korisnikByPatnikKId; 21 14 }
Note:
See TracChangeset
for help on using the changeset viewer.