source: bus-n-go-do-5ta-faza/src/main/java/mk/ukim/finki/busngo/model/entities/Kondukter.java

Last change on this file was baf4cc4, checked in by ppaunovski <paunovskipavel@…>, 3 months ago

split group project and individual project into two separate folders

  • Property mode set to 100644
File size: 459 bytes
Line 
1package mk.ukim.finki.busngo.model.entities;
2
3import jakarta.persistence.*;
4import lombok.Data;
5import lombok.EqualsAndHashCode;
6
7import java.util.List;
8import java.util.Objects;
9
10@EqualsAndHashCode(callSuper = true)
11@Data
12@Entity
13public class Kondukter extends Vraboten{
14 @OneToMany(mappedBy = "korisnikByKondukterKId")
15 private List<Kazna> kaznasByKId;
16 @OneToMany(mappedBy = "korisnikByKondukterKId")
17 private List<Kontroli> kontrolisByKId;
18
19}
Note: See TracBrowser for help on using the repository browser.