- 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/Kazna.java
rb101b69 rbde8b13 9 9 @Data 10 10 @Entity 11 @Inheritance(strategy = InheritanceType.JOINED) 11 12 public class Kazna { 12 13 @GeneratedValue(strategy = GenerationType.IDENTITY) … … 14 15 @Column(name = "kz_id") 15 16 private Long kzId; 17 16 18 @Basic 17 19 @Column(name = "kz_iznos") 18 20 private Double kzIznos; 21 19 22 @Basic 20 23 @Column(name = "kz_plateno") 21 24 private Boolean kzPlateno; 25 22 26 @Basic 23 27 @Column(name = "kz_datum") 24 28 private Timestamp kzDatum; 29 25 30 @Basic 26 31 @Column(name = "kz_datum_plateno") 27 32 private Timestamp kzDatumPlateno; 33 28 34 @Basic 29 35 @Column(name = "kz_dokument") 30 36 private String kzDokument; 37 31 38 @ManyToOne 32 39 @JoinColumn(name = "kondukter_k_id", referencedColumnName = "k_id") 33 private Korisnik korisnikByKondukterKId; 40 private Kondukter korisnikByKondukterKId; 41 34 42 @ManyToOne 35 43 @JoinColumn(name = "kontrola_id", referencedColumnName = "kontrola_id") 36 44 private Kontroli kontroliByKontrolaId; 37 @OneToOne(mappedBy = "kaznaByKzId") 38 private Kaznazaneregistriran kaznazaneregistriranByKzId; 39 @OneToOne(mappedBy = "kaznaByKzId") 40 private Kaznazaregistriran kaznazaregistriranByKzId; 45 46 // @OneToOne(mappedBy = "kaznaByKzId") 47 // private Kaznazaneregistriran kaznazaneregistriranByKzId; 48 // 49 // @OneToOne(mappedBy = "kaznaByKzId") 50 // private Kaznazaregistriran kaznazaregistriranByKzId; 41 51 }
Note:
See TracChangeset
for help on using the changeset viewer.