Commit 45cf4458 by Huang Linyu

更改文件UserVerifyCodeQuery.java to UserVerifyCodeBean.java

parent 4874caf7
...@@ -3,27 +3,36 @@ package com.ctrip.fun.common.vo.user; ...@@ -3,27 +3,36 @@ package com.ctrip.fun.common.vo.user;
// default package // default package
// Generated 2015-3-5 15:06:00 by Hibernate Tools 3.4.0.CR1 // Generated 2015-3-5 15:06:00 by Hibernate Tools 3.4.0.CR1
import java.io.Serializable;
import java.util.Date; import java.util.Date;
import com.alibaba.fastjson.annotation.JSONField;
import com.ctrip.fun.common.vo.AbstractPagedQuery;
/** /**
* UsrVerifycode generated by hbm2java * UsrVerifycode generated by hbm2java
*/ */
public class UserVerifyCodeQuery implements java.io.Serializable { public class UserVerifyCodeBean extends AbstractPagedQuery<UserVerifyCodeBean> implements Serializable{
/** /**
* *
*/ */
private static final long serialVersionUID = 3913215763403925400L; private static final long serialVersionUID = -8924671510637246491L;
private Integer id; private Integer id;
private String phoneOrEmail; private String phoneOrEmail;
private Date expireTime;
private int verifyCode; private int verifyCode;
private Date verifyTime; private Date verifyTime;
private Date expireTime; /**
* 校验次数
*/
private int verifyTimes;
private boolean status; private boolean status;
private int codeType; private int codeType;
private boolean checkStatus; private String userIP;
private Date dataChangeLastTime;
public Integer getId() { public Integer getId() {
return this.id; return this.id;
...@@ -41,32 +50,43 @@ public class UserVerifyCodeQuery implements java.io.Serializable { ...@@ -41,32 +50,43 @@ public class UserVerifyCodeQuery implements java.io.Serializable {
this.phoneOrEmail = phoneOrEmail; this.phoneOrEmail = phoneOrEmail;
} }
@JSONField(format="yyyy-mm-dd hh:MM:ss")
public Date getExpireTime() {
return expireTime;
}
public void setExpireTime(Date expireTime) {
this.expireTime = expireTime;
}
public int getVerifyCode() { public int getVerifyCode() {
return this.verifyCode; return verifyCode;
} }
public void setVerifyCode(int verifyCode) { public void setVerifyCode(int verifyCode) {
this.verifyCode = verifyCode; this.verifyCode = verifyCode;
} }
@JSONField(format="yyyy-mm-dd hh:MM:ss")
public Date getVerifyTime() { public Date getVerifyTime() {
return this.verifyTime; return verifyTime;
} }
public void setVerifyTime(Date verifyTime) { public void setVerifyTime(Date verifyTime) {
this.verifyTime = verifyTime; this.verifyTime = verifyTime;
} }
public Date getExpireTime() { public int getVerifyTimes() {
return this.expireTime; return verifyTimes;
} }
public void setExpireTime(Date expireTime) { public void setVerifyTimes(int verifyTimes) {
this.expireTime = expireTime; this.verifyTimes = verifyTimes;
} }
public boolean getStatus() { public boolean isStatus() {
return this.status; return status;
} }
public void setStatus(boolean status) { public void setStatus(boolean status) {
...@@ -74,27 +94,20 @@ public class UserVerifyCodeQuery implements java.io.Serializable { ...@@ -74,27 +94,20 @@ public class UserVerifyCodeQuery implements java.io.Serializable {
} }
public int getCodeType() { public int getCodeType() {
return this.codeType; return codeType;
} }
public void setCodeType(int codeType) { public void setCodeType(int codeType) {
this.codeType = codeType; this.codeType = codeType;
} }
public Date getDataChangeLastTime() { public String getUserIP() {
return this.dataChangeLastTime; return userIP;
} }
public void setDataChangeLastTime(Date dataChangeLastTime) { public void setUserIP(String userIP) {
this.dataChangeLastTime = dataChangeLastTime; this.userIP = userIP;
} }
public boolean isCheckStatus() {
return checkStatus;
}
public void setCheckStatus(boolean checkStatus) {
this.checkStatus = checkStatus;
}
} }
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 sign in to comment