1 | public class Valuation {↵ | | 1 | public class Customer implements Serializable {↵
|
|
2 | private Long id;↵ | | 2 | private String name;↵
|
3 | private Stock stock;↵ | | 3 | private St↵
|
4 | private Date valuationDate;↵ | | |
|
5 | private Double value;↵ | | |
|
|
6 | public Long getId() {↵ | | |
|
7 | return id↵ | | 4 | ring customerId;↵
|
| | | 5 | private Address billingAddress;↵
|
| | | 6 | private Address shippingAddress;↵
|
|
| | | 7 | public Address getBillingAddress() {↵
|
8 | ;↵ | | 8 | return billingAddress;↵
|
9 | }↵ | | 9 | }↵
|
|
10 | public void setId(Long id) {↵ | | 10 | public void set↵
|
11 | this.id = id↵ | | 11 | BillingAddress(Address billingAddress) {↵
|
12 | ;↵ | | 12 | this.billingAddress = billingAddress;↵
|
13 | }↵ | | 13 | }↵
|
|
14 | public Stock getStock() {↵ | | 14 | public String getCustomerId() {↵
|
15 | return stock;↵ | | 15 | return customerId;↵
|
16 | }↵ | | 16 | }↵
|
|
17 | public void setStock(Stock stock) {↵ | | 17 | public void setCustomerId(String customerId) {↵
|
18 | this.stock = stock;↵ | | 18 | this.customerId = customerId;↵
|
19 | }↵ | | 19 | }↵
|
|
20 | public Date getValuationDate() {↵ | | 20 | public String getName() {↵
|
21 | return valuationDate;↵ | | 21 | return name;↵
|
22 | }↵ | | 22 | }↵
|
|
23 | public void setValuationDate(Date valuationDate) {↵ | | 23 | public void set↵
|
24 | this.valuationDate = valuationDat↵ | | 24 | Name(String name) {↵
|
25 | e;↵ | | 25 | this.name = name;↵
|
26 | }↵ | | 26 | }↵
|
|
27 | public Double getValue() {↵ | | 27 | public ↵
|
28 | return value↵ | | 28 | Address getShippingAddress() {↵
|
29 | ;↵ | | 29 | return shippingAddress;↵
|
30 | }↵ | | 30 | }↵
|
|
31 | public void setValue(Double value) {↵ | | 31 | public void set↵
|
32 | this.value = value | | 32 | ShippingAddress(Address shippingAddress) {↵
|
| | | 33 | this.shippingAddress = shippingAddress
|