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:
709 bytes
|
Line | |
---|
1 | package mk.ukim.finki.busngo.model.entities;
|
---|
2 |
|
---|
3 | import jakarta.persistence.*;
|
---|
4 | import lombok.Data;
|
---|
5 |
|
---|
6 | import java.lang.invoke.CallSite;
|
---|
7 | import java.util.Collection;
|
---|
8 | import java.util.List;
|
---|
9 | import java.util.Objects;
|
---|
10 |
|
---|
11 | @Data
|
---|
12 | @Entity
|
---|
13 | public class Linija {
|
---|
14 | @GeneratedValue(strategy = GenerationType.IDENTITY)
|
---|
15 | @Id
|
---|
16 | @Column(name = "li_id")
|
---|
17 | private Integer liId;
|
---|
18 | @Basic
|
---|
19 | @Column(name = "li_ime")
|
---|
20 | private String liIme;
|
---|
21 | @Basic
|
---|
22 | @Column(name = "li_pravec")
|
---|
23 | private String liPravec;
|
---|
24 | @OneToMany(mappedBy = "linijaByLiId")
|
---|
25 | private List<Instancanalinija> instancanalinijasByLiId;
|
---|
26 | @OneToMany(mappedBy = "linijaByLiId")
|
---|
27 | private List<Postojkanalinija> postojkanalinijasByLiId;
|
---|
28 |
|
---|
29 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.