This commit is contained in:
Vombit committed 2026-10-08 10:54:53 +05:00
1 parent 2675dc2681
commit 159e5d6911
5 files changed
+37

No files matched your search

@@ -0,0 +1,4 @@
package com.example.MyUiRestDbService.controller;
public class StudentController {
}
@@ -0,0 +1,4 @@
package com.example.MyUiRestDbService.dao;
public interface StudentRepository {
}
@@ -0,0 +1,29 @@
package com.labwork.MySpringBoot2Dbase.entity;
import jakarta.persistence.*;
import lombok.*;
@Data
@Entity
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "STUDENTS")
public class Student {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
@Column(name = "name")
private String name;
@Column(name = "surname")
private String surname;
@Column(name = "faculty")
private String faculty;
@Column(name = "age")
private Integer age;
}
Whitespace-only changes.
Whitespace-only changes.