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
7c266985
Commit
7c266985
authored
Jun 24, 2023
by
Joel Andres Molina Velez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SE corrigen errores de sintaxis de menu
parent
8e627f05
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
UzyTMenuMapper.java
...d/MovilidadWS/Mapper/Components_Class/UzyTMenuMapper.java
+1
-1
ModelUzyTMenu.java
...c/edu/espe/movilidad/MovilidadWS/Model/ModelUzyTMenu.java
+2
-3
No files found.
src/main/java/ec/edu/espe/movilidad/MovilidadWS/Mapper/Components_Class/UzyTMenuMapper.java
View file @
7c266985
...
@@ -26,7 +26,7 @@ public class UzyTMenuMapper {
...
@@ -26,7 +26,7 @@ public class UzyTMenuMapper {
modelMapper
.
addMappings
(
new
PropertyMap
<
ModelUzyTMenu
,
DtoUzyTMenu
>()
{
modelMapper
.
addMappings
(
new
PropertyMap
<
ModelUzyTMenu
,
DtoUzyTMenu
>()
{
@Override
@Override
protected
void
configure
()
{
protected
void
configure
()
{
map
().
setUzytmenuId
(
source
.
getId
());
map
().
setUzytmenuId
(
source
.
get
Uzytmenu
Id
());
}
}
});
});
}
}
...
...
src/main/java/ec/edu/espe/movilidad/MovilidadWS/Model/ModelUzyTMenu.java
View file @
7c266985
package
ec
.
edu
.
espe
.
movilidad
.
MovilidadWS
.
Model
;
package
ec
.
edu
.
espe
.
movilidad
.
MovilidadWS
.
Model
;
import
lombok.Data
;
import
lombok.Getter
;
import
lombok.Getter
;
import
lombok.Setter
;
import
lombok.Setter
;
import
javax.persistence.*
;
import
javax.persistence.*
;
import
javax.validation.constraints.Size
;
import
javax.validation.constraints.Size
;
@Data
@Getter
@Getter
@Setter
@Setter
@Entity
@Entity
...
@@ -17,7 +16,7 @@ public class ModelUzyTMenu {
...
@@ -17,7 +16,7 @@ public class ModelUzyTMenu {
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"uzytmenu_seq"
)
@GeneratedValue
(
strategy
=
GenerationType
.
SEQUENCE
,
generator
=
"uzytmenu_seq"
)
@SequenceGenerator
(
name
=
"uzytmenu_seq"
,
sequenceName
=
"SEQ_UZYTMENU"
,
allocationSize
=
1
)
@SequenceGenerator
(
name
=
"uzytmenu_seq"
,
sequenceName
=
"SEQ_UZYTMENU"
,
allocationSize
=
1
)
@Column
(
name
=
"UZYTMENU_ID"
)
@Column
(
name
=
"UZYTMENU_ID"
)
private
Long
i
d
;
private
Long
uzytmenuI
d
;
@Size
(
max
=
50
)
@Size
(
max
=
50
)
@Column
(
name
=
"UZYTMENU_NOMBRE"
,
length
=
50
)
@Column
(
name
=
"UZYTMENU_NOMBRE"
,
length
=
50
)
...
...
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