Store.java 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. package com.example.entity;
  2. import lombok.Data;
  3. import java.io.Serializable;
  4. import java.math.BigDecimal;
  5. import java.util.List;
  6. /**
  7. *
  8. */
  9. @Data
  10. public class Store implements Serializable {
  11. private static final long serialVersionUID = 1L;
  12. /** id */
  13. private Integer id;
  14. /** 店铺名称*/
  15. private String storeName;
  16. /** 店铺主id */
  17. private Integer ownerId;
  18. /** 产品列表ids */
  19. private Integer [] productsIds;
  20. /** 地址列表ids */
  21. private String addressIds;
  22. /** 产品类型列表 */
  23. private Integer [] productTypeIds;
  24. /** 店铺封面图片*/
  25. private String storePicUrl;
  26. // 联合属性
  27. private List<Product> products;
  28. private List<ProductType>productTypes;
  29. private Address address;
  30. private Adminstore adminstore;
  31. // 产品表联合
  32. /** id */
  33. private Integer productId;
  34. /** 产品状态 */
  35. private String productState;
  36. /** 产品名称 */
  37. private String productName;
  38. /** 产品图标url */
  39. private String productIcons;
  40. /** 定价 */
  41. private BigDecimal productBidPrice;
  42. /** 实付价格 */
  43. private BigDecimal productSellPrice;
  44. // 类型表联合
  45. /** id */
  46. private Integer productTypeId;
  47. /** 产品类型名称 */
  48. private String productTypeName;
  49. }