package com.czg.order.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;

import java.io.Serial;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 台桌订单统计表 实体类。
 *
 * @author zs
 * @since 2025-03-07
 */
@Data

@NoArgsConstructor
@AllArgsConstructor
@Table("tb_shop_table_order_statistic")
public class ShopTableOrderStatistic implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    private Long id;

    private Long tableId;

    /**
     * 订单数量
     */
    private Long orderCount;

    /**
     * 订单金额
     */
    private BigDecimal orderAmount;

    /**
     * 店铺id
     */
    private Long shopId;

    /**
     * 创建日期 年月日
     */
    private Date createDay;
    /**
     * 退款数量
     */
    private long refundCount;
    /**
     * 退款金额
     */
    private BigDecimal refundAmount;
}

