source: bus-n-go-do-5ta-faza/src/main/java/mk/ukim/finki/busngo/model/entities/Avtobus.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: 591 bytes
Line 
1package mk.ukim.finki.busngo.model.entities;
2
3import jakarta.persistence.*;
4import lombok.Data;
5
6import java.util.List;
7import java.util.Objects;
8
9@Data
10@Entity
11public class Avtobus {
12 @GeneratedValue(strategy = GenerationType.IDENTITY)
13 @Id
14 @Column(name = "a_registracija")
15 private String aRegistracija;
16 @Basic
17 @Column(name = "a_seriski_broj")
18 private String aSeriskiBroj;
19 @Basic
20 @Column(name = "a_broj_sedista")
21 private Short aBrojSedista;
22 @OneToMany(mappedBy = "avtobusByARegistracija")
23 private List<Instancanalinija> instancanalinijaList;
24}
Note: See TracBrowser for help on using the repository browser.