fix: Recover SkillController
parent
2716ef99d6
commit
247ed778d2
|
@ -1,16 +1,14 @@
|
|||
package com.maradona.backend;
|
||||
|
||||
import jakarta.persistence.*;
|
||||
import lombok.Data;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
@Entity
|
||||
@Data
|
||||
public class FormOfAddress {
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
private Long id;
|
||||
@RestController
|
||||
@RequestMapping("/api/skills")
|
||||
public class SkillController {
|
||||
|
||||
@Column(nullable = false, length = 50)
|
||||
private String description;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue