com.vaadin.flow.component.textfield.demo.entity.Person Maven / Gradle / Ivy
package com.vaadin.flow.component.textfield.demo.entity;
public class Person {
private String id;
private String name;
private String title;
private int age;
private String phoneNumber;
private String email;
private String flightNumber;
private String userName;
public Person() {
}
public Person(String name, String title) {
this.name = name;
this.title = title;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
public String getPhoneNumber() {
return phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
public String getFlightNumber() {
return flightNumber;
}
public void setFlightNumber(String flightNumber) {
this.flightNumber = flightNumber;
}
public String getEmail() {
return email;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public void setEmail(String email) {
this.email = email;
}
@Override
public String toString() {
return name;
}
}