SE corrigen errores de sintaxis de menu

parent 8e627f05
...@@ -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.getUzytmenuId());
} }
}); });
} }
......
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 id; private Long uzytmenuId;
@Size(max = 50) @Size(max = 50)
@Column(name = "UZYTMENU_NOMBRE", length = 50) @Column(name = "UZYTMENU_NOMBRE", length = 50)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment