Last change
on this file was 571e0df, checked in by Ema <ema_spirova@…>, 2 years ago |
final presentation
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[6fe77af] | 1 | package finki.diplomska.tripplanner.models.dto;
|
---|
| 2 |
|
---|
| 3 | import finki.diplomska.tripplanner.models.*;
|
---|
| 4 | import lombok.Data;
|
---|
| 5 |
|
---|
| 6 | import java.util.List;
|
---|
| 7 |
|
---|
| 8 | @Data
|
---|
| 9 | public class LocationDto {
|
---|
| 10 |
|
---|
| 11 | private String name;
|
---|
| 12 |
|
---|
| 13 | private String description;
|
---|
| 14 |
|
---|
| 15 | private String address;
|
---|
| 16 |
|
---|
| 17 | private String priority;
|
---|
| 18 |
|
---|
| 19 | private int duration;
|
---|
| 20 |
|
---|
| 21 | private String trivia;
|
---|
| 22 |
|
---|
| 23 | private byte[] photo;
|
---|
| 24 |
|
---|
| 25 | private Long region;
|
---|
| 26 |
|
---|
| 27 | private Long city;
|
---|
| 28 |
|
---|
| 29 | private String user;
|
---|
| 30 |
|
---|
| 31 | private List<Long> companions;
|
---|
| 32 |
|
---|
| 33 | private List<Long> categories;
|
---|
| 34 |
|
---|
| 35 |
|
---|
| 36 | public LocationDto(String name, String description, String address, String priority, int duration, String trivia, byte[] photo, Long region, Long city, String user ) {
|
---|
| 37 | this.name = name;
|
---|
| 38 | this.description = description;
|
---|
| 39 | this.address = address;
|
---|
| 40 | this.priority = priority;
|
---|
| 41 | this.duration = duration;
|
---|
| 42 | this.trivia = trivia;
|
---|
| 43 | this.photo = photo;
|
---|
| 44 | this.region = region;
|
---|
| 45 | this.city = city;
|
---|
| 46 | this.user = user;
|
---|
| 47 | this.companions = companions;
|
---|
| 48 | this.categories = categories;
|
---|
| 49 | }
|
---|
| 50 | public LocationDto() {
|
---|
| 51 | }
|
---|
| 52 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.