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:
524 bytes
|
Rev | Line | |
---|
[4d7e387] | 1 | package com.example.salonbella.service.order;
|
---|
| 2 |
|
---|
| 3 | public class OrderDetail {
|
---|
| 4 | private String name;
|
---|
| 5 | private int quantity;
|
---|
| 6 |
|
---|
| 7 | public OrderDetail(String name, int quantity) {
|
---|
| 8 | this.name = name;
|
---|
| 9 | this.quantity = quantity;
|
---|
| 10 | }
|
---|
| 11 |
|
---|
| 12 | public String getName() {
|
---|
| 13 | return name;
|
---|
| 14 | }
|
---|
| 15 |
|
---|
| 16 | public void setName(String name) {
|
---|
| 17 | this.name = name;
|
---|
| 18 | }
|
---|
| 19 |
|
---|
| 20 | public int getQuantity() {
|
---|
| 21 | return quantity;
|
---|
| 22 | }
|
---|
| 23 |
|
---|
| 24 | public void setQuantity(int quantity) {
|
---|
| 25 | this.quantity = quantity;
|
---|
| 26 | }
|
---|
| 27 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.