Commit 87e2ecf1 by Xujialin

添加一些跨域的vo

parent 715964a5
package com.senthink.rmi.challenger.vo;
/**
*
*
*
*/
public class EllaUserParkVo {
/** */
private Integer id;
/** 停车场id */
private Integer pid;
/** 停车场名称 */
private String pname;
/** 管理停车场的团队账号id */
private Integer userId;
/** 管理团队业务类型,0换电池,1维修 */
private Integer businessType;
/** p的类别,0是停车场,1是区域 */
private Integer pType;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getPid() {
return pid;
}
public void setPid(Integer pid) {
this.pid = pid;
}
public String getPname() {
return pname;
}
public void setPname(String pname) {
this.pname = pname;
}
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public Integer getBusinessType() {
return businessType;
}
public void setBusinessType(Integer businessType) {
this.businessType = businessType;
}
public Integer getpType() {
return pType;
}
public void setpType(Integer pType) {
this.pType = pType;
}
}
package com.senthink.rmi.challenger.vo;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.NotEmpty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
*
* 资金账户
*
*/
@ApiModel("资金账户开户")
public class FundAccountOpenVo {
/** 运营商唯一标识 */
@ApiModelProperty("运营商唯一标识")
@NotEmpty(message = "运营商唯一标识不能为空")
private String productId;
/** 会员用户Id */
@ApiModelProperty("会员用户Id")
@NotNull(message = "会员用户Id不能为空")
private Integer userId;
/** 会员用户名称 */
@ApiModelProperty("会员用户名称")
@NotEmpty(message = "会员用户名称不能为空")
private String realname;
/** 用户身份:1管理员,2商户,3普通用户,4匿名用户 */
@ApiModelProperty("用户身份:1管理员,2商户,3普通用户,4匿名用户")
@NotNull(message = "用户身份不能为空")
private Integer identity;
public String getProductId() {
return productId;
}
public void setProductId(String productId) {
this.productId = productId;
}
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public String getRealname() {
return realname;
}
public void setRealname(String realname) {
this.realname = realname;
}
public Integer getIdentity() {
return identity;
}
public void setIdentity(Integer identity) {
this.identity = identity;
}
}
package com.senthink.rmi.challenger.vo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
* @version v0.0.1
* @Description 
邀请奖励请求生成优惠券vo
* @Author wanwt@senthink.com
* @Creation Date 2017年03月10日 下午2:33
* @ModificationHistory Who When What
* -------- ---------- -----------------------------------
*/
@ApiModel("邀请奖励请求生成优惠券vo")
public class InvitCouponsVo {
@ApiModelProperty("邀请人的用户id")
@NotNull(message = "邀请人的用户id不能为空")
private Integer inviteId;
@ApiModelProperty("邀请人的邀请人用户id,可以为空")
private Integer inviteBeInvitedId;
@ApiModelProperty("被邀请人用户id,即注册人用户id")
@NotNull(message = "被邀请人用户id不能为空")
private Integer beInvitedId;
public Integer getBeInvitedId() {
return beInvitedId;
}
public void setBeInvitedId(Integer beInvitedId) {
this.beInvitedId = beInvitedId;
}
public Integer getInviteId() {
return inviteId;
}
public void setInviteId(Integer inviteId) {
this.inviteId = inviteId;
}
public Integer getInviteBeInvitedId() {
return inviteBeInvitedId;
}
public void setInviteBeInvitedId(Integer inviteBeInvitedId) {
this.inviteBeInvitedId = inviteBeInvitedId;
}
}
...@@ -24,6 +24,27 @@ public class LeaseUserLoginInfoVo { ...@@ -24,6 +24,27 @@ public class LeaseUserLoginInfoVo {
@NotEmpty(message = "验证码不能为空") @NotEmpty(message = "验证码不能为空")
private String code; private String code;
@ApiModelProperty("邀请码")
private String inviteCode;
private String productId;
public String getProductId() {
return productId;
}
public void setProductId(String productId) {
this.productId = productId;
}
public String getInviteCode() {
return inviteCode;
}
public void setInviteCode(String inviteCode) {
this.inviteCode = inviteCode;
}
public String getPhone() { public String getPhone() {
return phone; return phone;
} }
......
/**
*
*/
package com.senthink.rmi.challenger.vo;
import java.util.List;
/**
* @ClassName : LeaseUserParkAuth
* @Description :
* @Author : xujialin
* @CreationDate : 2017年3月11日下午4:14:49
*/
public class LeaseUserParkAuth {
private Integer userId;
private List<EllaUserParkVo> parks;
/** 管理团队业务类型,0换电池,1维修 */
private Integer businessType;
/** p的类别,0是停车场,1是区域 */
private Integer pType;
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public List<EllaUserParkVo> getParks() {
return parks;
}
public void setParks(List<EllaUserParkVo> parks) {
this.parks = parks;
}
public Integer getBusinessType() {
return businessType;
}
public void setBusinessType(Integer businessType) {
this.businessType = businessType;
}
public Integer getpType() {
return pType;
}
public void setpType(Integer pType) {
this.pType = pType;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment