Skip to content

Commit d1ef06d

Browse files
committed
Fix: double in UserDto.
1 parent 5068068 commit d1ef06d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/main/java/qa/autotest/domain/dto/UserDto.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,18 @@
66
import lombok.NoArgsConstructor;
77

88
/**
9-
* Data Transfer Object for User credentials
9+
* Credentials DTO for authentication.
10+
*
11+
* <p>Contains only what belongs to a user identity: username and password.
12+
* Checkout address data (firstName, lastName, zipCode) belongs exclusively
13+
* to {@link CheckoutDto} and must not be duplicated here.
1014
*/
1115
@Data
1216
@Builder
1317
@NoArgsConstructor
1418
@AllArgsConstructor
1519
public class UserDto {
16-
20+
1721
private String username;
1822
private String password;
19-
private String firstName;
20-
private String lastName;
21-
private String zipCode;
2223
}

0 commit comments

Comments
 (0)