package com.gxwebsoft.shop.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gxwebsoft.shop.entity.Cart;
import com.gxwebsoft.shop.entity.Goods;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "店铺对象", description = "店铺")
@TableName("shop_merchant")
public class CartShopVo implements Serializable {

    @ApiModelProperty(value = "店铺ID")
    private Integer shopId;

    @ApiModelProperty("店铺名称")
    private String shopName;

    @ApiModelProperty(value = "店铺图标")
    private String shopLogo;

    @ApiModelProperty(value = "商品列表")
    private List<Cart> carts;
    @Data
    public static class Payload {
      private Integer shopId;
      private Integer shopName;
      private List<Cart> carts;
    }
}
