source: sources/app/src/main/java/parkup/data/Plate.java

Last change on this file was 0e407de, checked in by andrejTavchioski <andrej.tavchioski@…>, 2 years ago

plates fix

  • Property mode set to 100644
File size: 347 bytes
Line 
1package parkup.data;
2
3import javax.persistence.*;
4
5@Entity
6public 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.