/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package cn.ysk.cashier.dto.order;

import lombok.Data;
import java.math.BigDecimal;
import java.io.Serializable;

/**
* @website https://eladmin.vip
* @description /
* @author lyf
* @date 2024-03-02
**/
@Data
public class TbCashierCartDto implements Serializable {

    /** id */
    private Integer id;

    /** 主单Id */
    private String masterId;

    /** 本次下单Id */
    private Integer orderId;

    /** 退单Id */
    private Integer refOrderId;

    /** 购物车总额 */
    private BigDecimal totalAmount;

    /** 商品Id */
    private String productId;

    /** 商品图片 */
    private String coverImg;

    /** 是否sku */
    private String isSku;

    /** skuId */
    private String skuId;

    /** 商品名 */
    private String name;

    /** 单价 */
    private BigDecimal salePrice;

    /** 结余数量 */
    private Integer number;

    /** 总下单数量 */
    private Integer totalNumber;

    /** 退单数量 */
    private Integer refundNumber;

    /** 分类Id */
    private String categoryId;

    /** '购物车关闭 closed',' 购物车挂起 refund',' 购物车列表生效create',' 购物车完成final' */
    private String status;

    /** 是否为组合商品 0-单商品 1为组合商品 */
    private Integer type;

    /** 商户Id */
    private String merchantId;

    /** 店铺Id */
    private String shopId;

    private Long createdAt;

    private Long updatedAt;

    /** 用户的openId */
    private Integer userId;

    /** 台桌id */
    private Long tableId;

    /** 打包费 */
    private BigDecimal packFee;

    private String tradeDay;

    private String isPack;

    private String isGift;

    private Long pendingAt;

    private String uuid;
}