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 | |
---|
1 | package mk.ukim.finki.busngo.model.entities;
|
---|
2 |
|
---|
3 | import jakarta.persistence.*;
|
---|
4 | import lombok.Data;
|
---|
5 |
|
---|
6 | import java.util.List;
|
---|
7 | import java.util.Objects;
|
---|
8 |
|
---|
9 | @Data
|
---|
10 | @Entity
|
---|
11 | public 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.