Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
BackEnd-V2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Joel Andres Molina Velez
BackEnd-V2
Commits
f9280174
Commit
f9280174
authored
Aug 26, 2023
by
Joel Andres Molina Velez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Se agregan anotaciones de validación en DtoUzyTavHorEjec
parent
5eb4bd86
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
DtoUzyTavHorEjec.java
.../edu/espe/movilidad/MovilidadWS/Dto/DtoUzyTavHorEjec.java
+5
-1
No files found.
src/main/java/ec/edu/espe/movilidad/MovilidadWS/Dto/DtoUzyTavHorEjec.java
View file @
f9280174
...
...
@@ -2,17 +2,21 @@ package ec.edu.espe.movilidad.MovilidadWS.Dto;
import
lombok.Data
;
import
javax.validation.constraints.Positive
;
import
java.math.BigDecimal
;
import
java.time.LocalDateTime
;
@Data
public
class
DtoUzyTavHorEjec
{
@Positive
(
message
=
"El campo uzytavhorejec_code debe ser un número positivo"
)
private
Long
uzytavhorejec_code
;
@Positive
(
message
=
"El campo uzytavresponsable_prog_id debe ser un número positivo"
)
private
Long
uzytavresponsable_prog_id
;
private
LocalDateTime
uzytavhorejec_fec_ini
;
private
LocalDateTime
uzytavhorejec_fec_fin
;
@Positive
(
message
=
"El campo uzytavhorejec_total debe ser un número positivo"
)
private
BigDecimal
uzytavhorejec_total
;
@Positive
(
message
=
"El campo uzytavhorejec_calificacion debe ser un número positivo"
)
private
BigDecimal
uzytavhorejec_calificacion
;
}
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