deliverydto package added to shared-dto module
This commit is contained in:
parent
9e00e32ad9
commit
22b367c0cd
|
@ -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
|
||||
}
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue