Commit 7bfb72c8 by Tuomas Riihimäki

Added UserReservation pojos and bumped project version

1 parent eed117f3
......@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>moya-restpojo</artifactId>
<groupId>fi.codecrew.moya</groupId>
<version>1.0</version>
<version>1.0.2</version>
<build>
<plugins>
<plugin>
......
package fi.codecrew.moya.rest.pojo.userinfo.v1;
import javax.xml.bind.annotation.XmlElement;
public class UserReservationPlacePojo {
@XmlElement
private Integer placeid;
@XmlElement
private String placename;
@XmlElement
private boolean placegiven;
public String getPlacename() {
return placename;
}
public void setPlacename(String placename) {
this.placename = placename;
}
public boolean isPlacegiven() {
return placegiven;
}
public void setPlacegiven(boolean placegiven) {
this.placegiven = placegiven;
}
public Integer getPlaceid() {
return placeid;
}
public void setPlaceid(Integer placeid) {
this.placeid = placeid;
}
}
/*
* Copyright Codecrew Ry
*
* All rights reserved.
*
* This license applies to any software containing a notice placed by the
* copyright holder. Such software is herein referred to as the Software.
* This license covers modification, distribution and use of the Software.
*
* Any distribution and use in source and binary forms, with or without
* modification is not permitted without explicit written permission from the
* copyright owner.
*
* A non-exclusive royalty-free right is granted to the copyright owner of the
* Software to use, modify and distribute all modifications to the Software in
* future versions of the Software.
*
*/
package fi.codecrew.moya.rest.pojo.userinfo.v1;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement()
public class UserReservationRoot {
private List<UserReservationRoot> eventusers;
public UserReservationRoot() {
super();
}
public List<UserReservationRoot> getEventusers() {
return eventusers;
}
public void setEventusers(List<UserReservationRoot> eventusers) {
this.eventusers = eventusers;
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!