Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Alba María Álvarez
/
AppRecetas
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9bf62ab9
authored
Aug 30, 2025
by
Alba María Álvarez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
perf(user/dto): creado dto input con solo nombre y apellidos para la actualización de usuario
parent
f734b5a2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
src/main/java/com/example/apprecetas/user/infrastructure/controller/dto/input/UserUpdateInputDto.java
src/main/java/com/example/apprecetas/user/infrastructure/controller/dto/input/UserUpdateInputDto.java
0 → 100644
View file @
9bf62ab9
package
com
.
example
.
apprecetas
.
user
.
infrastructure
.
controller
.
dto
.
input
;
import
jakarta.validation.constraints.Size
;
import
lombok.Getter
;
import
lombok.NoArgsConstructor
;
import
lombok.Setter
;
@NoArgsConstructor
@Getter
@Setter
public
class
UserUpdateInputDto
{
@Size
(
min
=
2
,
max
=
20
,
message
=
"El nombre debe tener entre 2 y 20 caracteres"
)
private
String
name
;
@Size
(
min
=
6
,
max
=
20
,
message
=
"Los apellidos deben tener entre 6 y 20 caracteres"
)
private
String
surname
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment