We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5068068 commit d1ef06dCopy full SHA for d1ef06d
src/main/java/qa/autotest/domain/dto/UserDto.java
@@ -6,17 +6,18 @@
6
import lombok.NoArgsConstructor;
7
8
/**
9
- * Data Transfer Object for User credentials
+ * 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.
14
*/
15
@Data
16
@Builder
17
@NoArgsConstructor
18
@AllArgsConstructor
19
public class UserDto {
-
20
+
21
private String username;
22
private String password;
- private String firstName;
- private String lastName;
- private String zipCode;
23
}
0 commit comments