package com.ishop.model.vo; import com.ishop.model.po.EbMerchant; public class MerchantVo extends EbMerchant { public MerchantVo(EbMerchant merchant){ this.setId(merchant.getId()); this.setCreateId(merchant.getCreateId()); this.setBalance(merchant.getBalance()); this.setAdminId(merchant.getAdminId()); this.setIsSwitch(merchant.getIsSwitch()); this.setCreateTime(merchant.getCreateTime()); this.setCategoryId(merchant.getCategoryId()); this.setCopyProductNum(merchant.getCopyProductNum()); this.setHandlingFee(merchant.getHandlingFee()); this.setCreateType(merchant.getCreateType()); this.setIsRecommend(merchant.getIsRecommend()); this.setIsSelf(merchant.getIsSelf()); this.setIsDel(merchant.getIsDel()); this.setIsTakeTheir(merchant.getIsTakeTheir()); this.setName(merchant.getName()); this.setPhone(merchant.getPhone()); this.setProductSwitch(merchant.getProductSwitch()); this.setQualificationPicture(merchant.getQualificationPicture()); this.setRemark(merchant.getRemark()); this.setSort(merchant.getSort()); this.setStarLevel(merchant.getStarLevel()); this.setTypeId(merchant.getTypeId()); this.setAddressDetail(merchant.getAddressDetail()); this.setAvatar(merchant.getAvatar()); this.setBackImage(merchant.getBackImage()); this.setCity(merchant.getCity()); this.setCoverImage(merchant.getCoverImage()); this.setDistrict(merchant.getDistrict()); this.setEmail(merchant.getEmail()); this.setIntro(merchant.getIntro()); this.setKeywords(merchant.getKeywords()); this.setLatitude(merchant.getLatitude()); this.setLongitude(merchant.getLongitude()); this.setPcBackImage(merchant.getPcBackImage()); this.setPcBanner(merchant.getPcBanner()); this.setProvince(merchant.getProvince()); this.setRealName(merchant.getRealName()); this.setRectangleLogo(merchant.getRectangleLogo()); this.setStreetBackImage(merchant.getStreetBackImage()); } public String getMerCategory() { return merCategory; } public void setMerCategory(String merCategory) { this.merCategory = merCategory; } public String getMerType() { return merType; } public void setMerType(String merType) { this.merType = merType; } private String merCategory; private String merType; }