Formatting

This commit is contained in:
Roshan Thomas 2016-03-11 23:01:45 -05:00
parent b9ddf89745
commit 5e6778f5a7
1 changed files with 29 additions and 29 deletions

View File

@ -7,43 +7,43 @@ import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement @XmlRootElement
public class Employee { public class Employee {
private long id; private long id;
@NotNull @NotNull
@Size(min = 1) @Size(min = 1)
private String name; private String name;
@NotNull @NotNull
@Size(min = 1) @Size(min = 1)
private String contactNumber; private String contactNumber;
public Employee() { public Employee() {
super(); super();
} }
// //
public String getName() { public String getName() {
return name; return name;
} }
public void setName(final String name) { public void setName(final String name) {
this.name = name; this.name = name;
} }
public long getId() { public long getId() {
return id; return id;
} }
public void setId(final long id) { public void setId(final long id) {
this.id = id; this.id = id;
} }
public String getContactNumber() { public String getContactNumber() {
return contactNumber; return contactNumber;
} }
public void setContactNumber(final String contactNumber) { public void setContactNumber(final String contactNumber) {
this.contactNumber = contactNumber; this.contactNumber = contactNumber;
} }
} }