package com.qxueyou.scc.user.model;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.GeneratedValue;
|
import javax.persistence.Id;
|
import javax.persistence.NamedQuery;
|
import javax.persistence.Table;
|
|
import org.hibernate.annotations.GenericGenerator;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import com.qxueyou.scc.base.model.ITrace;
|
|
|
/**
|
* The persistent class for the user database table.
|
*
|
*/
|
@Entity(name="UserOperate")
|
@Table(name="user_operate")
|
@NamedQuery(name="UserOperate.findAll", query="SELECT u FROM UserOperate u")
|
public class UserOperate implements Serializable,ITrace {
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@GeneratedValue(generator = "hibernate-uuid")
|
@GenericGenerator(name = "hibernate-uuid", strategy = "uuid")
|
@Column(name="OPERATE_ID", unique=true, nullable=false, length=32)
|
private String operateId;
|
|
@Column(name="USER_ID", nullable=false, length=32)
|
private String userId;
|
|
@Column(name="ACCOUNT", length=64)
|
private String account;
|
|
@Column(name="USER_NAME", length=150)
|
private String userName;
|
|
@Column(name="CHANNEL_ID", length=32)
|
private String channelId;
|
|
@Column(name="APP_VERSION",length=16)
|
private String appVersion;
|
|
@Column(name="PLATFORM", length=64)
|
private String platform;
|
|
@Column(name="LBS", length=255)
|
private String lbs;
|
|
@Column(name="FIRST_LOGIN_TIME", nullable = true, length = 19)
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date firstLoginTime;
|
|
@Column(name="LAST_LOGIN_TIME", nullable = true, length = 19)
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date lastLoginTime;
|
|
@Column(name="FIRST_LOGIN_IP", length=64)
|
private String firstLoginIp;
|
|
@Column(name="LAST_LOGIN_IP", length=64)
|
private String lastLoginTIp;
|
|
@Column(name="LAST_LONGITUDE_X", length=100)
|
private String lastLatitudeX;
|
|
@Column(name="LAST_LATITUDE_Y", length=100)
|
private String lastLatitudeY;
|
|
@Column(name="LOGIN_DAYS")
|
private Integer loginDays;
|
|
@Column(name="LOGIN_TIMES")
|
private Integer loginTimes;
|
|
@Column(name="SUM_LOGIN_DAYS")
|
private Integer sumLoginDays;
|
|
@Column(name="SUM_LOGIN_TIMES")
|
private Integer sumLoginTimes;
|
|
@Column(name="ANDROID_LOGIN_TIMES")
|
private Integer androidLoginTimes;
|
|
@Column(name="IOS_LOGIN_TIMES")
|
private Integer iosLoginTimes;
|
|
@Column(name="CREATE_TIME", nullable=false)
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
@Column(name="DELETE_FLAG", nullable=false)
|
private boolean deleteFlag;
|
|
@Column(name="UPDATE_TIME", nullable=false)
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date updateTime;
|
|
@Column(name="CREATOR",nullable=false, length=100)
|
private String creator;
|
|
@Column(name = "CREATE_ID", nullable = false, length = 32)
|
private String createId;
|
|
@Column(name="UPDATE_ID", length=32)
|
private String updateId;
|
|
@Column(name="UPDATOR",length=100)
|
private String updator;
|
|
public String getOperateId() {
|
return operateId;
|
}
|
|
public void setOperateId(String operateId) {
|
this.operateId = operateId;
|
}
|
|
public String getUserId() {
|
return userId;
|
}
|
|
public void setUserId(String userId) {
|
this.userId = userId;
|
}
|
|
public String getAccount() {
|
return account;
|
}
|
|
public void setAccount(String account) {
|
this.account = account;
|
}
|
|
public String getUserName() {
|
return userName;
|
}
|
|
public void setUserName(String userName) {
|
this.userName = userName;
|
}
|
|
public String getChannelId() {
|
return channelId;
|
}
|
|
public void setChannelId(String channelId) {
|
this.channelId = channelId;
|
}
|
|
public String getAppVersion() {
|
return appVersion;
|
}
|
|
public void setAppVersion(String appVersion) {
|
this.appVersion = appVersion;
|
}
|
|
public String getPlatform() {
|
return platform;
|
}
|
|
public void setPlatform(String platform) {
|
this.platform = platform;
|
}
|
|
public String getLbs() {
|
return lbs;
|
}
|
|
public void setLbs(String lbs) {
|
this.lbs = lbs;
|
}
|
|
public Date getFirstLoginTime() {
|
return firstLoginTime;
|
}
|
|
public void setFirstLoginTime(Date firstLoginTime) {
|
this.firstLoginTime = firstLoginTime;
|
}
|
|
public Date getLastLoginTime() {
|
return lastLoginTime;
|
}
|
|
public void setLastLoginTime(Date lastLoginTime) {
|
this.lastLoginTime = lastLoginTime;
|
}
|
|
public String getFirstLoginIp() {
|
return firstLoginIp;
|
}
|
|
public void setFirstLoginIp(String firstLoginIp) {
|
this.firstLoginIp = firstLoginIp;
|
}
|
|
public String getLastLoginTIp() {
|
return lastLoginTIp;
|
}
|
|
public void setLastLoginTIp(String lastLoginTIp) {
|
this.lastLoginTIp = lastLoginTIp;
|
}
|
|
public Integer getLoginDays() {
|
return loginDays;
|
}
|
|
public void setLoginDays(Integer loginDays) {
|
this.loginDays = loginDays;
|
}
|
|
public Integer getLoginTimes() {
|
return loginTimes;
|
}
|
|
public void setLoginTimes(Integer loginTimes) {
|
this.loginTimes = loginTimes;
|
}
|
|
public Integer getSumLoginDays() {
|
return sumLoginDays;
|
}
|
|
public void setSumLoginDays(Integer sumLoginDays) {
|
this.sumLoginDays = sumLoginDays;
|
}
|
|
public Integer getSumLoginTimes() {
|
return sumLoginTimes;
|
}
|
|
public void setSumLoginTimes(Integer sumLoginTimes) {
|
this.sumLoginTimes = sumLoginTimes;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public boolean getDeleteFlag() {
|
return deleteFlag;
|
}
|
|
public void setDeleteFlag(boolean deleteFlag) {
|
this.deleteFlag = deleteFlag;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public String getCreator() {
|
return creator;
|
}
|
|
public void setCreator(String creator) {
|
this.creator = creator;
|
}
|
|
public String getCreateId() {
|
return createId;
|
}
|
|
public void setCreateId(String createId) {
|
this.createId = createId;
|
}
|
|
public String getUpdateId() {
|
return updateId;
|
}
|
|
public void setUpdateId(String updateId) {
|
this.updateId = updateId;
|
}
|
|
public String getUpdator() {
|
return updator;
|
}
|
|
public void setUpdator(String updator) {
|
this.updator = updator;
|
}
|
|
public Integer getAndroidLoginTimes() {
|
return androidLoginTimes;
|
}
|
|
public void setAndroidLoginTimes(Integer androidLoginTimes) {
|
this.androidLoginTimes = androidLoginTimes;
|
}
|
|
public Integer getIosLoginTimes() {
|
return iosLoginTimes;
|
}
|
|
public void setIosLoginTimes(Integer iosLoginTimes) {
|
this.iosLoginTimes = iosLoginTimes;
|
}
|
|
public String getLastLatitudeX() {
|
return lastLatitudeX;
|
}
|
|
public void setLastLatitudeX(String lastLatitudeX) {
|
this.lastLatitudeX = lastLatitudeX;
|
}
|
|
public String getLastLatitudeY() {
|
return lastLatitudeY;
|
}
|
|
public void setLastLatitudeY(String lastLatitudeY) {
|
this.lastLatitudeY = lastLatitudeY;
|
}
|
|
|
}
|