/*
 * Copyright (c) 2018-2999 广州亚米信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.yami.shop.bean.app.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * @author LGH
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ShopCartItemDto extends ProductItemDto implements Serializable {
    private static final long serialVersionUID = -8284981156242930909L;

    @ApiModelProperty(value = "购物车ID", required = true)
    private Long basketId;

    @ApiModelProperty(value = "店铺ID", required = true)
    private Long shopId;

    @ApiModelProperty(value = "规格名称", required = true)
    private String skuName;

    @ApiModelProperty(value = "店铺名称", required = true)
    private String shopName;

    @ApiModelProperty(value = "商品原价", required = true)
    private Double oriPrice;

    @ApiModelProperty(value = "推广员使用的推销卡号")
    private String distributionCardNo;

    @ApiModelProperty(value = "加入购物车的时间")
    private Date basketDate;

    @ApiModelProperty(value = "是否收藏")
    private Boolean isCollection;

    private Integer basketCount;

    @ApiModelProperty(value = "商品库存")
    private Integer stock;

    /**
     * 上架状态（0:商家下架、1:上架、2:违规下架、3:平台审核）
     */
    @ApiModelProperty(value = "上架状态（0:商家下架、1:上架、2:违规下架、3:平台审核）")
    private Integer status;
    /**
     * 逻辑删除标记 0 正常 1 已被删除
     */
    @ApiModelProperty(value = "逻辑删除标记 0 正常 1 已被删除")
    private Integer isDelete;

    /**
     * 商品重量
     */
    @ApiModelProperty(value = "商品重量")
    private Double weight;


}
