Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package RequiredAnnotation;
- /**
- * Created by Ruzal on 3/14/2017.
- */
- public class OrderBean {
- private Long id;
- private String description;
- private String name;
- public Long getId() {
- return id;
- }
- public void setId(Long id) {
- this.id = id;
- }
- public String getDescription() {
- return description;
- }
- public void setDescription(String description) {
- this.description = description;
- }
- public String getName() {
- return name;
- }
- @Required
- public void setName(String name) {
- this.name = name;
- }
- @Override
- public String toString() {
- return "OrderBean{" +
- "id=" + id +
- ", description='" + description + '\'' +
- ", name='" + name + '\'' +
- '}';
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement