Last change
on this file since c52cdbb was 0e407de, checked in by andrejTavchioski <andrej.tavchioski@…>, 2 years ago |
plates fix
|
-
Property mode
set to
100644
|
File size:
347 bytes
|
Rev | Line | |
---|
[9dd526f] | 1 | package parkup.data;
|
---|
| 2 |
|
---|
| 3 | import javax.persistence.*;
|
---|
| 4 |
|
---|
| 5 | @Entity
|
---|
| 6 | public class Plate {
|
---|
| 7 | @Id
|
---|
| 8 | private String plate;
|
---|
| 9 |
|
---|
| 10 | public Plate() {}
|
---|
| 11 |
|
---|
| 12 | public Plate(String plate) {
|
---|
| 13 | this.plate = plate;
|
---|
| 14 | }
|
---|
| 15 |
|
---|
| 16 | public String getPlate() {
|
---|
| 17 | return this.plate;
|
---|
| 18 | }
|
---|
| 19 |
|
---|
| 20 | public void setPlate(String plate) {
|
---|
| 21 | this.plate = plate;
|
---|
| 22 | }
|
---|
| 23 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.