package com.ishop.model.po; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnore; import com.walker.jdbc.BasePo; /** * 表名:EB_MERCHANT_APPLY * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class EbMerchantApply extends BasePo { // 序列化版本号 private static final long serialVersionUID = 1L; /** * 用于兼容老写法 */ @JsonIgnore public static final EbMerchantApply ROW_MAPPER = new EbMerchantApply(); // 主键 private Long id = null; @JsonIgnore protected boolean isset_id = false; // 属性列表 private Integer uid = null; @JsonIgnore protected boolean isset_uid = false; private String name = null; @JsonIgnore protected boolean isset_name = false; private Integer categoryId = null; @JsonIgnore protected boolean isset_categoryId = false; private Integer typeId = null; @JsonIgnore protected boolean isset_typeId = false; private String account = null; @JsonIgnore protected boolean isset_account = false; private String password = null; @JsonIgnore protected boolean isset_password = false; private String realName = null; @JsonIgnore protected boolean isset_realName = false; private String email = null; @JsonIgnore protected boolean isset_email = false; private String phone = null; @JsonIgnore protected boolean isset_phone = false; private Integer handlingFee = null; @JsonIgnore protected boolean isset_handlingFee = false; private String keywords = null; @JsonIgnore protected boolean isset_keywords = false; private String address = null; @JsonIgnore protected boolean isset_address = false; private Integer isSelf = null; @JsonIgnore protected boolean isset_isSelf = false; private Integer isRecommend = null; @JsonIgnore protected boolean isset_isRecommend = false; private Integer auditStatus = null; @JsonIgnore protected boolean isset_auditStatus = false; private String denialReason = null; @JsonIgnore protected boolean isset_denialReason = false; private Integer auditorId = null; @JsonIgnore protected boolean isset_auditorId = false; private String remark = null; @JsonIgnore protected boolean isset_remark = false; private String qualificationPicture = null; @JsonIgnore protected boolean isset_qualificationPicture = false; private Long createTime = null; @JsonIgnore protected boolean isset_createTime = false; private Long updateTime = null; @JsonIgnore protected boolean isset_updateTime = false; /** * 默认构造函数 */ public EbMerchantApply() { } /** * 根据主键构造对象 */ public EbMerchantApply(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 Integer getUid() { return this.uid; } public void setUid(Integer uid) { this.uid = uid; this.isset_uid = true; } @JsonIgnore public boolean isEmptyUid() { return this.uid == null; } public String getName() { return this.name; } public void setName(String name) { this.name = name; this.isset_name = true; } @JsonIgnore public boolean isEmptyName() { return this.name == null || this.name.length() == 0; } public Integer getCategoryId() { return this.categoryId; } public void setCategoryId(Integer categoryId) { this.categoryId = categoryId; this.isset_categoryId = true; } @JsonIgnore public boolean isEmptyCategoryId() { return this.categoryId == null; } public Integer getTypeId() { return this.typeId; } public void setTypeId(Integer typeId) { this.typeId = typeId; this.isset_typeId = true; } @JsonIgnore public boolean isEmptyTypeId() { return this.typeId == 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 getPassword() { return this.password; } public void setPassword(String password) { this.password = password; this.isset_password = true; } @JsonIgnore public boolean isEmptyPassword() { return this.password == null || this.password.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 getEmail() { return this.email; } public void setEmail(String email) { this.email = email; this.isset_email = true; } @JsonIgnore public boolean isEmptyEmail() { return this.email == null || this.email.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 Integer getHandlingFee() { return this.handlingFee; } public void setHandlingFee(Integer handlingFee) { this.handlingFee = handlingFee; this.isset_handlingFee = true; } @JsonIgnore public boolean isEmptyHandlingFee() { return this.handlingFee == null; } public String getKeywords() { return this.keywords; } public void setKeywords(String keywords) { this.keywords = keywords; this.isset_keywords = true; } @JsonIgnore public boolean isEmptyKeywords() { return this.keywords == null || this.keywords.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 getIsSelf() { return this.isSelf; } public void setIsSelf(Integer isSelf) { this.isSelf = isSelf; this.isset_isSelf = true; } @JsonIgnore public boolean isEmptyIsSelf() { return this.isSelf == null; } public Integer getIsRecommend() { return this.isRecommend; } public void setIsRecommend(Integer isRecommend) { this.isRecommend = isRecommend; this.isset_isRecommend = true; } @JsonIgnore public boolean isEmptyIsRecommend() { return this.isRecommend == null; } public Integer getAuditStatus() { return this.auditStatus; } public void setAuditStatus(Integer auditStatus) { this.auditStatus = auditStatus; this.isset_auditStatus = true; } @JsonIgnore public boolean isEmptyAuditStatus() { return this.auditStatus == null; } public String getDenialReason() { return this.denialReason; } public void setDenialReason(String denialReason) { this.denialReason = denialReason; this.isset_denialReason = true; } @JsonIgnore public boolean isEmptyDenialReason() { return this.denialReason == null || this.denialReason.length() == 0; } public Integer getAuditorId() { return this.auditorId; } public void setAuditorId(Integer auditorId) { this.auditorId = auditorId; this.isset_auditorId = true; } @JsonIgnore public boolean isEmptyAuditorId() { return this.auditorId == null; } public String getRemark() { return this.remark; } public void setRemark(String remark) { this.remark = remark; this.isset_remark = true; } @JsonIgnore public boolean isEmptyRemark() { return this.remark == null || this.remark.length() == 0; } public String getQualificationPicture() { return this.qualificationPicture; } public void setQualificationPicture(String qualificationPicture) { this.qualificationPicture = qualificationPicture; this.isset_qualificationPicture = true; } @JsonIgnore public boolean isEmptyQualificationPicture() { return this.qualificationPicture == null || this.qualificationPicture.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; } /** * 重写 toString() 方法 */ @Override public String toString() { return new StringBuilder() .append("id=").append(this.id) .append("uid=").append(this.uid) .append("name=").append(this.name) .append("categoryId=").append(this.categoryId) .append("typeId=").append(this.typeId) .append("account=").append(this.account) .append("password=").append(this.password) .append("realName=").append(this.realName) .append("email=").append(this.email) .append("phone=").append(this.phone) .append("handlingFee=").append(this.handlingFee) .append("keywords=").append(this.keywords) .append("address=").append(this.address) .append("isSelf=").append(this.isSelf) .append("isRecommend=").append(this.isRecommend) .append("auditStatus=").append(this.auditStatus) .append("denialReason=").append(this.denialReason) .append("auditorId=").append(this.auditorId) .append("remark=").append(this.remark) .append("qualificationPicture=").append(this.qualificationPicture) .append("createTime=").append(this.createTime) .append("updateTime=").append(this.updateTime) .toString(); } /** * 克隆 */ public EbMerchantApply $clone() { EbMerchantApply eb_merchant_apply = new EbMerchantApply(); // 数据库名称 //eb_merchant_apply.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_id) { eb_merchant_apply.setId(this.getId()); } // 普通属性 if (this.isset_uid) { eb_merchant_apply.setUid(this.getUid()); } if (this.isset_name) { eb_merchant_apply.setName(this.getName()); } if (this.isset_categoryId) { eb_merchant_apply.setCategoryId(this.getCategoryId()); } if (this.isset_typeId) { eb_merchant_apply.setTypeId(this.getTypeId()); } if (this.isset_account) { eb_merchant_apply.setAccount(this.getAccount()); } if (this.isset_password) { eb_merchant_apply.setPassword(this.getPassword()); } if (this.isset_realName) { eb_merchant_apply.setRealName(this.getRealName()); } if (this.isset_email) { eb_merchant_apply.setEmail(this.getEmail()); } if (this.isset_phone) { eb_merchant_apply.setPhone(this.getPhone()); } if (this.isset_handlingFee) { eb_merchant_apply.setHandlingFee(this.getHandlingFee()); } if (this.isset_keywords) { eb_merchant_apply.setKeywords(this.getKeywords()); } if (this.isset_address) { eb_merchant_apply.setAddress(this.getAddress()); } if (this.isset_isSelf) { eb_merchant_apply.setIsSelf(this.getIsSelf()); } if (this.isset_isRecommend) { eb_merchant_apply.setIsRecommend(this.getIsRecommend()); } if (this.isset_auditStatus) { eb_merchant_apply.setAuditStatus(this.getAuditStatus()); } if (this.isset_denialReason) { eb_merchant_apply.setDenialReason(this.getDenialReason()); } if (this.isset_auditorId) { eb_merchant_apply.setAuditorId(this.getAuditorId()); } if (this.isset_remark) { eb_merchant_apply.setRemark(this.getRemark()); } if (this.isset_qualificationPicture) { eb_merchant_apply.setQualificationPicture(this.getQualificationPicture()); } if (this.isset_createTime) { eb_merchant_apply.setCreateTime(this.getCreateTime()); } if (this.isset_updateTime) { eb_merchant_apply.setUpdateTime(this.getUpdateTime()); } return eb_merchant_apply; } }