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