package com.ishop.model.po; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnore; import com.walker.jdbc.BasePo; /** * 表名:EB_MERCHANT * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class EbMerchant extends BasePo { // 序列化版本号 private static final long serialVersionUID = 1L; /** * 用于兼容老写法 */ @JsonIgnore public static final EbMerchant ROW_MAPPER = new EbMerchant(); // 主键 private Integer id = null; @JsonIgnore protected boolean isset_id = 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 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 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 addressDetail = null; @JsonIgnore protected boolean isset_addressDetail = false; private String latitude = null; @JsonIgnore protected boolean isset_latitude = false; private String longitude = null; @JsonIgnore protected boolean isset_longitude = false; private Integer isSelf = null; @JsonIgnore protected boolean isset_isSelf = false; private Integer isRecommend = null; @JsonIgnore protected boolean isset_isRecommend = false; private Integer isSwitch = null; @JsonIgnore protected boolean isset_isSwitch = false; private Integer productSwitch = null; @JsonIgnore protected boolean isset_productSwitch = false; private Integer isTakeTheir = null; @JsonIgnore protected boolean isset_isTakeTheir = false; private String remark = null; @JsonIgnore protected boolean isset_remark = false; private String qualificationPicture = null; @JsonIgnore protected boolean isset_qualificationPicture = false; private String backImage = null; @JsonIgnore protected boolean isset_backImage = false; private String avatar = null; @JsonIgnore protected boolean isset_avatar = false; private String rectangleLogo = null; @JsonIgnore protected boolean isset_rectangleLogo = false; private String coverImage = null; @JsonIgnore protected boolean isset_coverImage = false; private String streetBackImage = null; @JsonIgnore protected boolean isset_streetBackImage = false; private String intro = null; @JsonIgnore protected boolean isset_intro = false; private Integer copyProductNum = null; @JsonIgnore protected boolean isset_copyProductNum = false; private Double balance = null; @JsonIgnore protected boolean isset_balance = false; private Integer starLevel = null; @JsonIgnore protected boolean isset_starLevel = false; private String pcBanner = null; @JsonIgnore protected boolean isset_pcBanner = false; private String pcBackImage = null; @JsonIgnore protected boolean isset_pcBackImage = false; private Integer sort = null; @JsonIgnore protected boolean isset_sort = false; private String createType = null; @JsonIgnore protected boolean isset_createType = false; private Long createId = null; @JsonIgnore protected boolean isset_createId = false; private Long adminId = null; @JsonIgnore protected boolean isset_adminId = false; private Integer isDel = null; @JsonIgnore protected boolean isset_isDel = false; private Long createTime = null; @JsonIgnore protected boolean isset_createTime = false; private Long updateTime = null; @JsonIgnore protected boolean isset_updateTime = false; private String uuid = null; @JsonIgnore protected boolean isset_uuid = false; /** * 默认构造函数 */ public EbMerchant() { } /** * 根据主键构造对象 */ public EbMerchant(Integer id) { this.setId(id); } /** * 设置主键值 */ @Override public void setPkValue(Object value) { this.setId((Integer) value); } public Integer getId() { return this.id; } public void setId(Integer id) { this.id = id; this.isset_id = true; } @JsonIgnore public boolean isEmptyId() { return this.id == 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 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 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 getAddressDetail() { return this.addressDetail; } public void setAddressDetail(String addressDetail) { this.addressDetail = addressDetail; this.isset_addressDetail = true; } @JsonIgnore public boolean isEmptyAddressDetail() { return this.addressDetail == null || this.addressDetail.length() == 0; } public String getLatitude() { return this.latitude; } public void setLatitude(String latitude) { this.latitude = latitude; this.isset_latitude = true; } @JsonIgnore public boolean isEmptyLatitude() { return this.latitude == null || this.latitude.length() == 0; } public String getLongitude() { return this.longitude; } public void setLongitude(String longitude) { this.longitude = longitude; this.isset_longitude = true; } @JsonIgnore public boolean isEmptyLongitude() { return this.longitude == null || this.longitude.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 getIsSwitch() { return this.isSwitch; } public void setIsSwitch(Integer isSwitch) { this.isSwitch = isSwitch; this.isset_isSwitch = true; } @JsonIgnore public boolean isEmptyIsSwitch() { return this.isSwitch == null; } public Integer getProductSwitch() { return this.productSwitch; } public void setProductSwitch(Integer productSwitch) { this.productSwitch = productSwitch; this.isset_productSwitch = true; } @JsonIgnore public boolean isEmptyProductSwitch() { return this.productSwitch == null; } public Integer getIsTakeTheir() { return this.isTakeTheir; } public void setIsTakeTheir(Integer isTakeTheir) { this.isTakeTheir = isTakeTheir; this.isset_isTakeTheir = true; } @JsonIgnore public boolean isEmptyIsTakeTheir() { return this.isTakeTheir == 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 String getBackImage() { return this.backImage; } public void setBackImage(String backImage) { this.backImage = backImage; this.isset_backImage = true; } @JsonIgnore public boolean isEmptyBackImage() { return this.backImage == null || this.backImage.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 getRectangleLogo() { return this.rectangleLogo; } public void setRectangleLogo(String rectangleLogo) { this.rectangleLogo = rectangleLogo; this.isset_rectangleLogo = true; } @JsonIgnore public boolean isEmptyRectangleLogo() { return this.rectangleLogo == null || this.rectangleLogo.length() == 0; } public String getCoverImage() { return this.coverImage; } public void setCoverImage(String coverImage) { this.coverImage = coverImage; this.isset_coverImage = true; } @JsonIgnore public boolean isEmptyCoverImage() { return this.coverImage == null || this.coverImage.length() == 0; } public String getStreetBackImage() { return this.streetBackImage; } public void setStreetBackImage(String streetBackImage) { this.streetBackImage = streetBackImage; this.isset_streetBackImage = true; } @JsonIgnore public boolean isEmptyStreetBackImage() { return this.streetBackImage == null || this.streetBackImage.length() == 0; } public String getIntro() { return this.intro; } public void setIntro(String intro) { this.intro = intro; this.isset_intro = true; } @JsonIgnore public boolean isEmptyIntro() { return this.intro == null || this.intro.length() == 0; } public Integer getCopyProductNum() { return this.copyProductNum; } public void setCopyProductNum(Integer copyProductNum) { this.copyProductNum = copyProductNum; this.isset_copyProductNum = true; } @JsonIgnore public boolean isEmptyCopyProductNum() { return this.copyProductNum == null; } public Double getBalance() { return this.balance; } public void setBalance(Double balance) { this.balance = balance; this.isset_balance = true; } @JsonIgnore public boolean isEmptyBalance() { return this.balance == null; } public Integer getStarLevel() { return this.starLevel; } public void setStarLevel(Integer starLevel) { this.starLevel = starLevel; this.isset_starLevel = true; } @JsonIgnore public boolean isEmptyStarLevel() { return this.starLevel == null; } public String getPcBanner() { return this.pcBanner; } public void setPcBanner(String pcBanner) { this.pcBanner = pcBanner; this.isset_pcBanner = true; } @JsonIgnore public boolean isEmptyPcBanner() { return this.pcBanner == null || this.pcBanner.length() == 0; } public String getPcBackImage() { return this.pcBackImage; } public void setPcBackImage(String pcBackImage) { this.pcBackImage = pcBackImage; this.isset_pcBackImage = true; } @JsonIgnore public boolean isEmptyPcBackImage() { return this.pcBackImage == null || this.pcBackImage.length() == 0; } public Integer getSort() { return this.sort; } public void setSort(Integer sort) { this.sort = sort; this.isset_sort = true; } @JsonIgnore public boolean isEmptySort() { return this.sort == null; } public String getCreateType() { return this.createType; } public void setCreateType(String createType) { this.createType = createType; this.isset_createType = true; } @JsonIgnore public boolean isEmptyCreateType() { return this.createType == null || this.createType.length() == 0; } public Long getCreateId() { return this.createId; } public void setCreateId(Long createId) { this.createId = createId; this.isset_createId = true; } @JsonIgnore public boolean isEmptyCreateId() { return this.createId == null; } public Long getAdminId() { return this.adminId; } public void setAdminId(Long adminId) { this.adminId = adminId; this.isset_adminId = true; } @JsonIgnore public boolean isEmptyAdminId() { return this.adminId == null; } public Integer getIsDel() { return this.isDel; } public void setIsDel(Integer isDel) { this.isDel = isDel; this.isset_isDel = true; } @JsonIgnore public boolean isEmptyIsDel() { return this.isDel == null; } 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 String getUuid() { return this.uuid; } public void setUuid(String uuid) { this.uuid = uuid; this.isset_uuid = true; } @JsonIgnore public boolean isEmptyUuid() { return this.uuid == null || this.uuid.length() == 0; } /** * 重写 toString() 方法 */ @Override public String toString() { return new StringBuilder() .append("id=").append(this.id) .append("name=").append(this.name) .append("categoryId=").append(this.categoryId) .append("typeId=").append(this.typeId) .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("province=").append(this.province) .append("city=").append(this.city) .append("district=").append(this.district) .append("addressDetail=").append(this.addressDetail) .append("latitude=").append(this.latitude) .append("longitude=").append(this.longitude) .append("isSelf=").append(this.isSelf) .append("isRecommend=").append(this.isRecommend) .append("isSwitch=").append(this.isSwitch) .append("productSwitch=").append(this.productSwitch) .append("isTakeTheir=").append(this.isTakeTheir) .append("remark=").append(this.remark) .append("qualificationPicture=").append(this.qualificationPicture) .append("backImage=").append(this.backImage) .append("avatar=").append(this.avatar) .append("rectangleLogo=").append(this.rectangleLogo) .append("coverImage=").append(this.coverImage) .append("streetBackImage=").append(this.streetBackImage) .append("intro=").append(this.intro) .append("copyProductNum=").append(this.copyProductNum) .append("balance=").append(this.balance) .append("starLevel=").append(this.starLevel) .append("pcBanner=").append(this.pcBanner) .append("pcBackImage=").append(this.pcBackImage) .append("sort=").append(this.sort) .append("createType=").append(this.createType) .append("createId=").append(this.createId) .append("adminId=").append(this.adminId) .append("isDel=").append(this.isDel) .append("createTime=").append(this.createTime) .append("updateTime=").append(this.updateTime) .append("uuid=").append(this.uuid) .toString(); } /** * 克隆 */ public EbMerchant $clone() { EbMerchant eb_merchant = new EbMerchant(); // 数据库名称 //eb_merchant.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_id) { eb_merchant.setId(this.getId()); } // 普通属性 if (this.isset_name) { eb_merchant.setName(this.getName()); } if (this.isset_categoryId) { eb_merchant.setCategoryId(this.getCategoryId()); } if (this.isset_typeId) { eb_merchant.setTypeId(this.getTypeId()); } if (this.isset_realName) { eb_merchant.setRealName(this.getRealName()); } if (this.isset_email) { eb_merchant.setEmail(this.getEmail()); } if (this.isset_phone) { eb_merchant.setPhone(this.getPhone()); } if (this.isset_handlingFee) { eb_merchant.setHandlingFee(this.getHandlingFee()); } if (this.isset_keywords) { eb_merchant.setKeywords(this.getKeywords()); } if (this.isset_province) { eb_merchant.setProvince(this.getProvince()); } if (this.isset_city) { eb_merchant.setCity(this.getCity()); } if (this.isset_district) { eb_merchant.setDistrict(this.getDistrict()); } if (this.isset_addressDetail) { eb_merchant.setAddressDetail(this.getAddressDetail()); } if (this.isset_latitude) { eb_merchant.setLatitude(this.getLatitude()); } if (this.isset_longitude) { eb_merchant.setLongitude(this.getLongitude()); } if (this.isset_isSelf) { eb_merchant.setIsSelf(this.getIsSelf()); } if (this.isset_isRecommend) { eb_merchant.setIsRecommend(this.getIsRecommend()); } if (this.isset_isSwitch) { eb_merchant.setIsSwitch(this.getIsSwitch()); } if (this.isset_productSwitch) { eb_merchant.setProductSwitch(this.getProductSwitch()); } if (this.isset_isTakeTheir) { eb_merchant.setIsTakeTheir(this.getIsTakeTheir()); } if (this.isset_remark) { eb_merchant.setRemark(this.getRemark()); } if (this.isset_qualificationPicture) { eb_merchant.setQualificationPicture(this.getQualificationPicture()); } if (this.isset_backImage) { eb_merchant.setBackImage(this.getBackImage()); } if (this.isset_avatar) { eb_merchant.setAvatar(this.getAvatar()); } if (this.isset_rectangleLogo) { eb_merchant.setRectangleLogo(this.getRectangleLogo()); } if (this.isset_coverImage) { eb_merchant.setCoverImage(this.getCoverImage()); } if (this.isset_streetBackImage) { eb_merchant.setStreetBackImage(this.getStreetBackImage()); } if (this.isset_intro) { eb_merchant.setIntro(this.getIntro()); } if (this.isset_copyProductNum) { eb_merchant.setCopyProductNum(this.getCopyProductNum()); } if (this.isset_balance) { eb_merchant.setBalance(this.getBalance()); } if (this.isset_starLevel) { eb_merchant.setStarLevel(this.getStarLevel()); } if (this.isset_pcBanner) { eb_merchant.setPcBanner(this.getPcBanner()); } if (this.isset_pcBackImage) { eb_merchant.setPcBackImage(this.getPcBackImage()); } if (this.isset_sort) { eb_merchant.setSort(this.getSort()); } if (this.isset_createType) { eb_merchant.setCreateType(this.getCreateType()); } if (this.isset_createId) { eb_merchant.setCreateId(this.getCreateId()); } if (this.isset_adminId) { eb_merchant.setAdminId(this.getAdminId()); } if (this.isset_isDel) { eb_merchant.setIsDel(this.getIsDel()); } if (this.isset_createTime) { eb_merchant.setCreateTime(this.getCreateTime()); } if (this.isset_updateTime) { eb_merchant.setUpdateTime(this.getUpdateTime()); } if (this.isset_uuid) { eb_merchant.setUuid(this.getUuid()); } return eb_merchant; } }