deliverydto package added to shared-dto module

This commit is contained in:
Sasa M 2020-06-14 00:43:19 +02:00
parent 9e00e32ad9
commit 22b367c0cd
2 changed files with 17 additions and 3 deletions

View File

@ -0,0 +1,16 @@
package com.baeldung.deliverydto;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CustomerDTO {
private String firstName;
private String lastName;
private String homeAddress;
private String contactNumber;
// constructor, getters, setters
}

View File

@ -8,10 +8,8 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
public class CustomerDTO {
private String firstName;
private String lastName;
private String homeAddress;
private String cardNumber;
// constructor, getters, setters
}