various functionality added

This commit is contained in:
2025-03-11 23:15:15 +01:00
parent 3f769df850
commit acd957f0da
13 changed files with 188 additions and 42 deletions

View File

@@ -0,0 +1,75 @@
package nl.veenm.paypoint.domain;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
@Entity
public class Company {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
private String name;
private String email;
private String img_href;
private String address;
private String postal_code;
private String city;
public void setId(Long id) {
this.id = id;
}
public Long getId() {
return id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getImg_href() {
return img_href;
}
public void setImg_href(String img_href) {
this.img_href = img_href;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public String getPostal_code() {
return postal_code;
}
public void setPostal_code(String postal_code) {
this.postal_code = postal_code;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
}