fix: Recover SkillController

pull/1/head
Lunix-420 2024-10-28 12:30:17 +01:00
parent 2716ef99d6
commit 247ed778d2
1 changed files with 9 additions and 11 deletions

View File

@ -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;
}