
com.giffing.wicket.spring.boot.example.model.Customer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wicket-spring-boot-starter-example Show documentation
Show all versions of wicket-spring-boot-starter-example Show documentation
An example project which uses the wicket-spring-boot-starter autoconfiguration project
package com.giffing.wicket.spring.boot.example.model;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import com.giffing.wicket.spring.boot.example.repository.Domain;
@Entity
public class Customer implements Domain, Serializable {
@Id
@GeneratedValue(strategy=GenerationType.AUTO)
private Long id;
private String username;
private String password;
private String firstname;
private String lastname;
private boolean active;
@Override
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getFirstname() {
return firstname;
}
public void setFirstname(String firstname) {
this.firstname = firstname;
}
public String getLastname() {
return lastname;
}
public void setLastname(String lastname) {
this.lastname = lastname;
}
public boolean isActive() {
return active;
}
public void setActive(boolean active) {
this.active = active;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy