Last change
on this file since 4d7e387 was 4d7e387, checked in by makyjovanovsky <mjovanovski04@…>, 18 months ago |
commit 1
|
-
Property mode
set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | package com.example.salonbella.service.order;
|
---|
2 |
|
---|
3 | import java.time.LocalDate;
|
---|
4 | import java.util.ArrayList;
|
---|
5 | import java.util.List;
|
---|
6 |
|
---|
7 | public class OrderResponse {
|
---|
8 |
|
---|
9 | private long id;
|
---|
10 | private String status;
|
---|
11 | private LocalDate localDate;
|
---|
12 | private double total;
|
---|
13 | private List<OrderDetail> orderDetails = new ArrayList<>();
|
---|
14 | private String name;
|
---|
15 | private String surname;
|
---|
16 |
|
---|
17 | public long getId() {
|
---|
18 | return id;
|
---|
19 | }
|
---|
20 |
|
---|
21 | public void setId(long id) {
|
---|
22 | this.id = id;
|
---|
23 | }
|
---|
24 |
|
---|
25 | public String getStatus() {
|
---|
26 | return status;
|
---|
27 | }
|
---|
28 |
|
---|
29 | public void setStatus(String status) {
|
---|
30 | this.status = status;
|
---|
31 | }
|
---|
32 |
|
---|
33 | public LocalDate getLocalDate() {
|
---|
34 | return localDate;
|
---|
35 | }
|
---|
36 |
|
---|
37 | public void setLocalDate(LocalDate localDate) {
|
---|
38 | this.localDate = localDate;
|
---|
39 | }
|
---|
40 |
|
---|
41 | public double getTotal() {
|
---|
42 | return total;
|
---|
43 | }
|
---|
44 |
|
---|
45 | public void setTotal(double total) {
|
---|
46 | this.total = total;
|
---|
47 | }
|
---|
48 |
|
---|
49 | public List<OrderDetail> getOrderDetails() {
|
---|
50 | return orderDetails;
|
---|
51 | }
|
---|
52 |
|
---|
53 | public void setOrderDetails(List<OrderDetail> orderDetails) {
|
---|
54 | this.orderDetails = orderDetails;
|
---|
55 | }
|
---|
56 |
|
---|
57 | public String getName() {
|
---|
58 | return name;
|
---|
59 | }
|
---|
60 |
|
---|
61 | public void setName(String name) {
|
---|
62 | this.name = name;
|
---|
63 | }
|
---|
64 |
|
---|
65 | public String getSurname() {
|
---|
66 | return surname;
|
---|
67 | }
|
---|
68 |
|
---|
69 | public void setSurname(String surname) {
|
---|
70 | this.surname = surname;
|
---|
71 | }
|
---|
72 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.