package com.project.beautycenter.model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "beautycenter", schema = "project") public class Beautycenter { @Id @Column(name = "salon_id", nullable = false, length = 100) private String id; @Column(name = "adresa", nullable = false, length = 100) private String adresa; @Column(name = "tel_br", nullable = false, length = 12) private String telBr; @Column(name = "e_mail", length = 100) private String eMail; public String getEMail() { return eMail; } public void setEMail(String eMail) { this.eMail = eMail; } public String getTelBr() { return telBr; } public void setTelBr(String telBr) { this.telBr = telBr; } public String getAdresa() { return adresa; } public void setAdresa(String adresa) { this.adresa = adresa; } public String getId() { return id; } public void setId(String id) { this.id = id; } }