package com.ishop.model.po; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnore; import com.walker.jdbc.BasePo; /** * 表名:EB_USER * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class EbUser extends BasePo { // 序列化版本号 private static final long serialVersionUID = 1L; // 主键 private Long id = null; @JsonIgnore protected boolean isset_id = false; // 属性列表 private String account = null; @JsonIgnore protected boolean isset_account = false; private String pwd = null; @JsonIgnore protected boolean isset_pwd = false; private String realName = null; @JsonIgnore protected boolean isset_realName = false; private String birthday = null; @JsonIgnore protected boolean isset_birthday = false; private String identityCardNo = null; @JsonIgnore protected boolean isset_identityCardNo = false; private String tagId = null; @JsonIgnore protected boolean isset_tagId = false; private String nickname = null; @JsonIgnore protected boolean isset_nickname = false; private String avatar = null; @JsonIgnore protected boolean isset_avatar = false; private String phone = null; @JsonIgnore protected boolean isset_phone = false; private String country = null; @JsonIgnore protected boolean isset_country = false; private String province = null; @JsonIgnore protected boolean isset_province = false; private String city = null; @JsonIgnore protected boolean isset_city = false; private String district = null; @JsonIgnore protected boolean isset_district = false; private String address = null; @JsonIgnore protected boolean isset_address = false; private Integer sex = null; @JsonIgnore protected boolean isset_sex = false; private Integer integral = null; @JsonIgnore protected boolean isset_integral = false; private Integer experience = null; @JsonIgnore protected boolean isset_experience = false; private Double nowMoney = null; @JsonIgnore protected boolean isset_nowMoney = false; private Double brokeragePrice = null; @JsonIgnore protected boolean isset_brokeragePrice = false; private Integer level = null; @JsonIgnore protected boolean isset_level = false; private Integer signNum = null; @JsonIgnore protected boolean isset_signNum = false; private Integer isWechatPublic = null; @JsonIgnore protected boolean isset_isWechatPublic = false; private Integer isWechatRoutine = null; @JsonIgnore protected boolean isset_isWechatRoutine = false; private Integer payCount = null; @JsonIgnore protected boolean isset_payCount = false; private Integer isPromoter = null; @JsonIgnore protected boolean isset_isPromoter = false; private Long promoterTime = null; @JsonIgnore protected boolean isset_promoterTime = false; private Long spreadUid = null; @JsonIgnore protected boolean isset_spreadUid = false; private Long spreadTime = null; @JsonIgnore protected boolean isset_spreadTime = false; private Integer spreadCount = null; @JsonIgnore protected boolean isset_spreadCount = false; private String registerType = null; @JsonIgnore protected boolean isset_registerType = false; private String addIp = null; @JsonIgnore protected boolean isset_addIp = false; private String lastIp = null; @JsonIgnore protected boolean isset_lastIp = false; private Long lastLoginTime = null; @JsonIgnore protected boolean isset_lastLoginTime = false; private Integer status = null; @JsonIgnore protected boolean isset_status = false; private String mark = null; @JsonIgnore protected boolean isset_mark = false; private Long createTime = null; @JsonIgnore protected boolean isset_createTime = false; private Long updateTime = null; @JsonIgnore protected boolean isset_updateTime = false; private Integer isLogoff = null; @JsonIgnore protected boolean isset_isLogoff = false; private Long logoffTime = null; @JsonIgnore protected boolean isset_logoffTime = false; private Integer isWechatIos = null; @JsonIgnore protected boolean isset_isWechatIos = false; private Integer isWechatAndroid = null; @JsonIgnore protected boolean isset_isWechatAndroid = false; private Integer isBindingIos = null; @JsonIgnore protected boolean isset_isBindingIos = false; private String moneySign = null; @JsonIgnore protected boolean isset_moneySign = false; /** * 默认构造函数 */ public EbUser() { } /** * 根据主键构造对象 */ public EbUser(Long id) { this.setId(id); } /** * 设置主键值 */ @Override public void setPkValue(Object value) { this.setId((Long) value); } public Long getId() { return this.id; } public void setId(Long id) { this.id = id; this.isset_id = true; } @JsonIgnore public boolean isEmptyId() { return this.id == null; } public String getAccount() { return this.account; } public void setAccount(String account) { this.account = account; this.isset_account = true; } @JsonIgnore public boolean isEmptyAccount() { return this.account == null || this.account.length() == 0; } public String getPwd() { return this.pwd; } public void setPwd(String pwd) { this.pwd = pwd; this.isset_pwd = true; } @JsonIgnore public boolean isEmptyPwd() { return this.pwd == null || this.pwd.length() == 0; } public String getRealName() { return this.realName; } public void setRealName(String realName) { this.realName = realName; this.isset_realName = true; } @JsonIgnore public boolean isEmptyRealName() { return this.realName == null || this.realName.length() == 0; } public String getBirthday() { return this.birthday; } public void setBirthday(String birthday) { this.birthday = birthday; this.isset_birthday = true; } @JsonIgnore public boolean isEmptyBirthday() { return this.birthday == null || this.birthday.length() == 0; } public String getIdentityCardNo() { return this.identityCardNo; } public void setIdentityCardNo(String identityCardNo) { this.identityCardNo = identityCardNo; this.isset_identityCardNo = true; } @JsonIgnore public boolean isEmptyIdentityCardNo() { return this.identityCardNo == null || this.identityCardNo.length() == 0; } public String getTagId() { return this.tagId; } public void setTagId(String tagId) { this.tagId = tagId; this.isset_tagId = true; } @JsonIgnore public boolean isEmptyTagId() { return this.tagId == null || this.tagId.length() == 0; } public String getNickname() { return this.nickname; } public void setNickname(String nickname) { this.nickname = nickname; this.isset_nickname = true; } @JsonIgnore public boolean isEmptyNickname() { return this.nickname == null || this.nickname.length() == 0; } public String getAvatar() { return this.avatar; } public void setAvatar(String avatar) { this.avatar = avatar; this.isset_avatar = true; } @JsonIgnore public boolean isEmptyAvatar() { return this.avatar == null || this.avatar.length() == 0; } public String getPhone() { return this.phone; } public void setPhone(String phone) { this.phone = phone; this.isset_phone = true; } @JsonIgnore public boolean isEmptyPhone() { return this.phone == null || this.phone.length() == 0; } public String getCountry() { return this.country; } public void setCountry(String country) { this.country = country; this.isset_country = true; } @JsonIgnore public boolean isEmptyCountry() { return this.country == null || this.country.length() == 0; } public String getProvince() { return this.province; } public void setProvince(String province) { this.province = province; this.isset_province = true; } @JsonIgnore public boolean isEmptyProvince() { return this.province == null || this.province.length() == 0; } public String getCity() { return this.city; } public void setCity(String city) { this.city = city; this.isset_city = true; } @JsonIgnore public boolean isEmptyCity() { return this.city == null || this.city.length() == 0; } public String getDistrict() { return this.district; } public void setDistrict(String district) { this.district = district; this.isset_district = true; } @JsonIgnore public boolean isEmptyDistrict() { return this.district == null || this.district.length() == 0; } public String getAddress() { return this.address; } public void setAddress(String address) { this.address = address; this.isset_address = true; } @JsonIgnore public boolean isEmptyAddress() { return this.address == null || this.address.length() == 0; } public Integer getSex() { return this.sex; } public void setSex(Integer sex) { this.sex = sex; this.isset_sex = true; } @JsonIgnore public boolean isEmptySex() { return this.sex == null; } public Integer getIntegral() { return this.integral; } public void setIntegral(Integer integral) { this.integral = integral; this.isset_integral = true; } @JsonIgnore public boolean isEmptyIntegral() { return this.integral == null; } public Integer getExperience() { return this.experience; } public void setExperience(Integer experience) { this.experience = experience; this.isset_experience = true; } @JsonIgnore public boolean isEmptyExperience() { return this.experience == null; } public Double getNowMoney() { return this.nowMoney; } public void setNowMoney(Double nowMoney) { this.nowMoney = nowMoney; this.isset_nowMoney = true; } @JsonIgnore public boolean isEmptyNowMoney() { return this.nowMoney == null; } public Double getBrokeragePrice() { return this.brokeragePrice; } public void setBrokeragePrice(Double brokeragePrice) { this.brokeragePrice = brokeragePrice; this.isset_brokeragePrice = true; } @JsonIgnore public boolean isEmptyBrokeragePrice() { return this.brokeragePrice == null; } public Integer getLevel() { return this.level; } public void setLevel(Integer level) { this.level = level; this.isset_level = true; } @JsonIgnore public boolean isEmptyLevel() { return this.level == null; } public Integer getSignNum() { return this.signNum; } public void setSignNum(Integer signNum) { this.signNum = signNum; this.isset_signNum = true; } @JsonIgnore public boolean isEmptySignNum() { return this.signNum == null; } public Integer getIsWechatPublic() { return this.isWechatPublic; } public void setIsWechatPublic(Integer isWechatPublic) { this.isWechatPublic = isWechatPublic; this.isset_isWechatPublic = true; } @JsonIgnore public boolean isEmptyIsWechatPublic() { return this.isWechatPublic == null; } public Integer getIsWechatRoutine() { return this.isWechatRoutine; } public void setIsWechatRoutine(Integer isWechatRoutine) { this.isWechatRoutine = isWechatRoutine; this.isset_isWechatRoutine = true; } @JsonIgnore public boolean isEmptyIsWechatRoutine() { return this.isWechatRoutine == null; } public Integer getPayCount() { return this.payCount; } public void setPayCount(Integer payCount) { this.payCount = payCount; this.isset_payCount = true; } @JsonIgnore public boolean isEmptyPayCount() { return this.payCount == null; } public Integer getIsPromoter() { return this.isPromoter; } public void setIsPromoter(Integer isPromoter) { this.isPromoter = isPromoter; this.isset_isPromoter = true; } @JsonIgnore public boolean isEmptyIsPromoter() { return this.isPromoter == null; } public Long getPromoterTime() { return this.promoterTime; } public void setPromoterTime(Long promoterTime) { this.promoterTime = promoterTime; this.isset_promoterTime = true; } @JsonIgnore public boolean isEmptyPromoterTime() { return this.promoterTime == null; } public Long getSpreadUid() { return this.spreadUid; } public void setSpreadUid(Long spreadUid) { this.spreadUid = spreadUid; this.isset_spreadUid = true; } @JsonIgnore public boolean isEmptySpreadUid() { return this.spreadUid == null; } public Long getSpreadTime() { return this.spreadTime; } public void setSpreadTime(Long spreadTime) { this.spreadTime = spreadTime; this.isset_spreadTime = true; } @JsonIgnore public boolean isEmptySpreadTime() { return this.spreadTime == null; } public Integer getSpreadCount() { return this.spreadCount; } public void setSpreadCount(Integer spreadCount) { this.spreadCount = spreadCount; this.isset_spreadCount = true; } @JsonIgnore public boolean isEmptySpreadCount() { return this.spreadCount == null; } public String getRegisterType() { return this.registerType; } public void setRegisterType(String registerType) { this.registerType = registerType; this.isset_registerType = true; } @JsonIgnore public boolean isEmptyRegisterType() { return this.registerType == null || this.registerType.length() == 0; } public String getAddIp() { return this.addIp; } public void setAddIp(String addIp) { this.addIp = addIp; this.isset_addIp = true; } @JsonIgnore public boolean isEmptyAddIp() { return this.addIp == null || this.addIp.length() == 0; } public String getLastIp() { return this.lastIp; } public void setLastIp(String lastIp) { this.lastIp = lastIp; this.isset_lastIp = true; } @JsonIgnore public boolean isEmptyLastIp() { return this.lastIp == null || this.lastIp.length() == 0; } public Long getLastLoginTime() { return this.lastLoginTime; } public void setLastLoginTime(Long lastLoginTime) { this.lastLoginTime = lastLoginTime; this.isset_lastLoginTime = true; } @JsonIgnore public boolean isEmptyLastLoginTime() { return this.lastLoginTime == null; } public Integer getStatus() { return this.status; } public void setStatus(Integer status) { this.status = status; this.isset_status = true; } @JsonIgnore public boolean isEmptyStatus() { return this.status == null; } public String getMark() { return this.mark; } public void setMark(String mark) { this.mark = mark; this.isset_mark = true; } @JsonIgnore public boolean isEmptyMark() { return this.mark == null || this.mark.length() == 0; } public Long getCreateTime() { return this.createTime; } public void setCreateTime(Long createTime) { this.createTime = createTime; this.isset_createTime = true; } @JsonIgnore public boolean isEmptyCreateTime() { return this.createTime == null; } public Long getUpdateTime() { return this.updateTime; } public void setUpdateTime(Long updateTime) { this.updateTime = updateTime; this.isset_updateTime = true; } @JsonIgnore public boolean isEmptyUpdateTime() { return this.updateTime == null; } public Integer getIsLogoff() { return this.isLogoff; } public void setIsLogoff(Integer isLogoff) { this.isLogoff = isLogoff; this.isset_isLogoff = true; } @JsonIgnore public boolean isEmptyIsLogoff() { return this.isLogoff == null; } public Long getLogoffTime() { return this.logoffTime; } public void setLogoffTime(Long logoffTime) { this.logoffTime = logoffTime; this.isset_logoffTime = true; } @JsonIgnore public boolean isEmptyLogoffTime() { return this.logoffTime == null; } public Integer getIsWechatIos() { return this.isWechatIos; } public void setIsWechatIos(Integer isWechatIos) { this.isWechatIos = isWechatIos; this.isset_isWechatIos = true; } @JsonIgnore public boolean isEmptyIsWechatIos() { return this.isWechatIos == null; } public Integer getIsWechatAndroid() { return this.isWechatAndroid; } public void setIsWechatAndroid(Integer isWechatAndroid) { this.isWechatAndroid = isWechatAndroid; this.isset_isWechatAndroid = true; } @JsonIgnore public boolean isEmptyIsWechatAndroid() { return this.isWechatAndroid == null; } public Integer getIsBindingIos() { return this.isBindingIos; } public void setIsBindingIos(Integer isBindingIos) { this.isBindingIos = isBindingIos; this.isset_isBindingIos = true; } @JsonIgnore public boolean isEmptyIsBindingIos() { return this.isBindingIos == null; } public String getMoneySign() { return this.moneySign; } public void setMoneySign(String moneySign) { this.moneySign = moneySign; this.isset_moneySign = true; } @JsonIgnore public boolean isEmptyMoneySign() { return this.moneySign == null || this.moneySign.length() == 0; } /** * 重写 toString() 方法 */ @Override public String toString() { return new StringBuilder() .append("id=").append(this.id) .append("account=").append(this.account) .append("pwd=").append(this.pwd) .append("realName=").append(this.realName) .append("birthday=").append(this.birthday) .append("identityCardNo=").append(this.identityCardNo) .append("tagId=").append(this.tagId) .append("nickname=").append(this.nickname) .append("avatar=").append(this.avatar) .append("phone=").append(this.phone) .append("country=").append(this.country) .append("province=").append(this.province) .append("city=").append(this.city) .append("district=").append(this.district) .append("address=").append(this.address) .append("sex=").append(this.sex) .append("integral=").append(this.integral) .append("experience=").append(this.experience) .append("nowMoney=").append(this.nowMoney) .append("brokeragePrice=").append(this.brokeragePrice) .append("level=").append(this.level) .append("signNum=").append(this.signNum) .append("isWechatPublic=").append(this.isWechatPublic) .append("isWechatRoutine=").append(this.isWechatRoutine) .append("payCount=").append(this.payCount) .append("isPromoter=").append(this.isPromoter) .append("promoterTime=").append(this.promoterTime) .append("spreadUid=").append(this.spreadUid) .append("spreadTime=").append(this.spreadTime) .append("spreadCount=").append(this.spreadCount) .append("registerType=").append(this.registerType) .append("addIp=").append(this.addIp) .append("lastIp=").append(this.lastIp) .append("lastLoginTime=").append(this.lastLoginTime) .append("status=").append(this.status) .append("mark=").append(this.mark) .append("createTime=").append(this.createTime) .append("updateTime=").append(this.updateTime) .append("isLogoff=").append(this.isLogoff) .append("logoffTime=").append(this.logoffTime) .append("isWechatIos=").append(this.isWechatIos) .append("isWechatAndroid=").append(this.isWechatAndroid) .append("isBindingIos=").append(this.isBindingIos) .append("moneySign=").append(this.moneySign) .toString(); } /** * 克隆 */ public EbUser $clone() { EbUser eb_user = new EbUser(); // 数据库名称 //eb_user.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_id) { eb_user.setId(this.getId()); } // 普通属性 if (this.isset_account) { eb_user.setAccount(this.getAccount()); } if (this.isset_pwd) { eb_user.setPwd(this.getPwd()); } if (this.isset_realName) { eb_user.setRealName(this.getRealName()); } if (this.isset_birthday) { eb_user.setBirthday(this.getBirthday()); } if (this.isset_identityCardNo) { eb_user.setIdentityCardNo(this.getIdentityCardNo()); } if (this.isset_tagId) { eb_user.setTagId(this.getTagId()); } if (this.isset_nickname) { eb_user.setNickname(this.getNickname()); } if (this.isset_avatar) { eb_user.setAvatar(this.getAvatar()); } if (this.isset_phone) { eb_user.setPhone(this.getPhone()); } if (this.isset_country) { eb_user.setCountry(this.getCountry()); } if (this.isset_province) { eb_user.setProvince(this.getProvince()); } if (this.isset_city) { eb_user.setCity(this.getCity()); } if (this.isset_district) { eb_user.setDistrict(this.getDistrict()); } if (this.isset_address) { eb_user.setAddress(this.getAddress()); } if (this.isset_sex) { eb_user.setSex(this.getSex()); } if (this.isset_integral) { eb_user.setIntegral(this.getIntegral()); } if (this.isset_experience) { eb_user.setExperience(this.getExperience()); } if (this.isset_nowMoney) { eb_user.setNowMoney(this.getNowMoney()); } if (this.isset_brokeragePrice) { eb_user.setBrokeragePrice(this.getBrokeragePrice()); } if (this.isset_level) { eb_user.setLevel(this.getLevel()); } if (this.isset_signNum) { eb_user.setSignNum(this.getSignNum()); } if (this.isset_isWechatPublic) { eb_user.setIsWechatPublic(this.getIsWechatPublic()); } if (this.isset_isWechatRoutine) { eb_user.setIsWechatRoutine(this.getIsWechatRoutine()); } if (this.isset_payCount) { eb_user.setPayCount(this.getPayCount()); } if (this.isset_isPromoter) { eb_user.setIsPromoter(this.getIsPromoter()); } if (this.isset_promoterTime) { eb_user.setPromoterTime(this.getPromoterTime()); } if (this.isset_spreadUid) { eb_user.setSpreadUid(this.getSpreadUid()); } if (this.isset_spreadTime) { eb_user.setSpreadTime(this.getSpreadTime()); } if (this.isset_spreadCount) { eb_user.setSpreadCount(this.getSpreadCount()); } if (this.isset_registerType) { eb_user.setRegisterType(this.getRegisterType()); } if (this.isset_addIp) { eb_user.setAddIp(this.getAddIp()); } if (this.isset_lastIp) { eb_user.setLastIp(this.getLastIp()); } if (this.isset_lastLoginTime) { eb_user.setLastLoginTime(this.getLastLoginTime()); } if (this.isset_status) { eb_user.setStatus(this.getStatus()); } if (this.isset_mark) { eb_user.setMark(this.getMark()); } if (this.isset_createTime) { eb_user.setCreateTime(this.getCreateTime()); } if (this.isset_updateTime) { eb_user.setUpdateTime(this.getUpdateTime()); } if (this.isset_isLogoff) { eb_user.setIsLogoff(this.getIsLogoff()); } if (this.isset_logoffTime) { eb_user.setLogoffTime(this.getLogoffTime()); } if (this.isset_isWechatIos) { eb_user.setIsWechatIos(this.getIsWechatIos()); } if (this.isset_isWechatAndroid) { eb_user.setIsWechatAndroid(this.getIsWechatAndroid()); } if (this.isset_isBindingIos) { eb_user.setIsBindingIos(this.getIsBindingIos()); } if (this.isset_moneySign) { eb_user.setMoneySign(this.getMoneySign()); } return eb_user; } }