admin
2020-07-16 be67478cae6bf9308f15949a21e7d0a57a3f0ecb
facede-common/src/main/java/com/yeshi/common/entity/taobao/TaoBaoShopInfo.java
File was renamed from fanli/src/main/java/com/yeshi/fanli/entity/taobao/TaoBaoShopInfo.java
@@ -1,97 +1,97 @@
package com.yeshi.fanli.entity.taobao;
import org.springframework.data.annotation.Id;
import org.springframework.data.annotation.PersistenceConstructor;
import org.springframework.data.mongodb.core.mapping.Document;
/**
 * 淘宝店铺信息
 *
 * @author Administrator
 *
 */
@Document(collection = "tbShopInfo")
public class TaoBaoShopInfo {
   @Id
   private Long userId;// 店铺ID
   private String shopTitle;// 店铺标题
   private String shopType;// 店铺类型  B-天猫  C-淘宝
   private String sellerNick;// 卖家昵称
   private String pictureUrl;// 店铺图标
   private String shopUrl;// 店铺地址
   private String userType;// 店铺类型  1-天猫  0-淘宝()
   public TaoBaoShopInfo() {
   }
   @PersistenceConstructor
   public TaoBaoShopInfo(Long userId, String shopTitle, String shopType, String sellerNick, String pictureUrl,
         String shopUrl) {
      this.userId = userId;
      this.shopTitle = shopTitle;
      this.shopType = shopType;
      this.sellerNick = sellerNick;
      this.pictureUrl = pictureUrl;
      this.shopUrl = shopUrl;
   }
   public Long getUserId() {
      return userId;
   }
   public void setUserId(Long userId) {
      this.userId = userId;
   }
   public String getShopTitle() {
      return shopTitle;
   }
   public void setShopTitle(String shopTitle) {
      this.shopTitle = shopTitle;
   }
   public String getShopType() {
      return shopType;
   }
   public void setShopType(String shopType) {
      this.shopType = shopType;
   }
   public String getSellerNick() {
      return sellerNick;
   }
   public void setSellerNick(String sellerNick) {
      this.sellerNick = sellerNick;
   }
   public String getPictureUrl() {
      return pictureUrl;
   }
   public void setPictureUrl(String pictureUrl) {
      this.pictureUrl = pictureUrl;
   }
   public String getShopUrl() {
      return shopUrl;
   }
   public void setShopUrl(String shopUrl) {
      this.shopUrl = shopUrl;
   }
   public String getUserType() {
      return userType;
   }
   public void setUserType(String userType) {
      this.userType = userType;
   }
}
package com.yeshi.common.entity.taobao;
import org.springframework.data.annotation.Id;
import org.springframework.data.annotation.PersistenceConstructor;
import org.springframework.data.mongodb.core.mapping.Document;
/**
 * 淘宝店铺信息
 *
 * @author Administrator
 *
 */
@Document(collection = "tbShopInfo")
public class TaoBaoShopInfo {
   @Id
   private Long userId;// 店铺ID
   private String shopTitle;// 店铺标题
   private String shopType;// 店铺类型  B-天猫  C-淘宝
   private String sellerNick;// 卖家昵称
   private String pictureUrl;// 店铺图标
   private String shopUrl;// 店铺地址
   private String userType;// 店铺类型  1-天猫  0-淘宝()
   public TaoBaoShopInfo() {
   }
   @PersistenceConstructor
   public TaoBaoShopInfo(Long userId, String shopTitle, String shopType, String sellerNick, String pictureUrl,
         String shopUrl) {
      this.userId = userId;
      this.shopTitle = shopTitle;
      this.shopType = shopType;
      this.sellerNick = sellerNick;
      this.pictureUrl = pictureUrl;
      this.shopUrl = shopUrl;
   }
   public Long getUserId() {
      return userId;
   }
   public void setUserId(Long userId) {
      this.userId = userId;
   }
   public String getShopTitle() {
      return shopTitle;
   }
   public void setShopTitle(String shopTitle) {
      this.shopTitle = shopTitle;
   }
   public String getShopType() {
      return shopType;
   }
   public void setShopType(String shopType) {
      this.shopType = shopType;
   }
   public String getSellerNick() {
      return sellerNick;
   }
   public void setSellerNick(String sellerNick) {
      this.sellerNick = sellerNick;
   }
   public String getPictureUrl() {
      return pictureUrl;
   }
   public void setPictureUrl(String pictureUrl) {
      this.pictureUrl = pictureUrl;
   }
   public String getShopUrl() {
      return shopUrl;
   }
   public void setShopUrl(String shopUrl) {
      this.shopUrl = shopUrl;
   }
   public String getUserType() {
      return userType;
   }
   public void setUserType(String userType) {
      this.userType = userType;
   }
}