Last change
on this file since bde8b13 was bde8b13, checked in by ppaunovski <paunovskipavel@…>, 6 months ago |
All 3 main use cases implemented.
- Starting a commute
- Writing a ticket
- Starting an instance of a Bus Line
|
-
Property mode
set to
100644
|
File size:
311 bytes
|
Rev | Line | |
---|
[b101b69] | 1 | package mk.ukim.finki.busngo.model.entities;
|
---|
| 2 |
|
---|
| 3 | import jakarta.persistence.*;
|
---|
| 4 | import lombok.Data;
|
---|
| 5 |
|
---|
| 6 | import java.util.Objects;
|
---|
| 7 |
|
---|
| 8 | @Data
|
---|
| 9 | @Entity
|
---|
[bde8b13] | 10 | public class Kaznazaregistriran extends Kazna{
|
---|
[b101b69] | 11 | @ManyToOne
|
---|
| 12 | @JoinColumn(name = "patnik_k_id", referencedColumnName = "k_id")
|
---|
[bde8b13] | 13 | private Patnik korisnikByPatnikKId;
|
---|
[b101b69] | 14 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.