source: src/main/java/com/project/beautycenter/model/Beautycenter.java

Last change on this file was 850b344, checked in by Tamara Simikj <tamara.simic12@…>, 2 years ago

Initial commit

  • Property mode set to 100644
File size: 1.1 KB
Line 
1package com.project.beautycenter.model;
2
3import javax.persistence.Column;
4import javax.persistence.Entity;
5import javax.persistence.Id;
6import javax.persistence.Table;
7
8@Entity
9@Table(name = "beautycenter", schema = "project")
10public class Beautycenter {
11 @Id
12 @Column(name = "salon_id", nullable = false, length = 100)
13 private String id;
14
15 @Column(name = "adresa", nullable = false, length = 100)
16 private String adresa;
17
18 @Column(name = "tel_br", nullable = false, length = 12)
19 private String telBr;
20
21 @Column(name = "e_mail", length = 100)
22 private String eMail;
23
24
25 public String getEMail() {
26 return eMail;
27 }
28
29 public void setEMail(String eMail) {
30 this.eMail = eMail;
31 }
32
33 public String getTelBr() {
34 return telBr;
35 }
36
37 public void setTelBr(String telBr) {
38 this.telBr = telBr;
39 }
40
41 public String getAdresa() {
42 return adresa;
43 }
44
45 public void setAdresa(String adresa) {
46 this.adresa = adresa;
47 }
48
49 public String getId() {
50 return id;
51 }
52
53 public void setId(String id) {
54 this.id = id;
55 }
56}
Note: See TracBrowser for help on using the repository browser.