Add new components, styles, and services for user management and navigation
This commit is contained in:
@@ -41,3 +41,4 @@ out/
|
|||||||
/gradle/
|
/gradle/
|
||||||
/src/main/resources/public/
|
/src/main/resources/public/
|
||||||
/logs/application.log
|
/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;
|
||||||
Reference in New Issue
Block a user