Add new components, styles, and services for user management and navigation

This commit is contained in:
liosha84
2025-06-25 13:30:36 +03:00
parent 485222591a
commit 9b7465d3dc
3 changed files with 52 additions and 0 deletions
+1
View File
@@ -41,3 +41,4 @@ out/
/gradle/
/src/main/resources/public/
/logs/application.log
/logs/
@@ -0,0 +1,49 @@
package com.jambotronGroup.jambotron.model;
import jakarta.persistence.*;
@Entity
@Table(name = "DataBaseSettings")
public class DataBaseSettings {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
@Column(length = 20)
private String name;
@Column(length = 20)
private String url;
@Column(length = 20)
private String userName;
@Column(length = 20)
private String password;
public DataBaseSettings(String name) {
this.name = name;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
@@ -0,0 +1,2 @@
ALTER TABLE IF EXISTS public.tutorials
ALTER COLUMN id ADD GENERATED ALWAYS AS IDENTITY;