
package com.czg.account.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import com.alibaba.fastjson2.annotation.JSONField;
import java.io.Serial;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

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

@NoArgsConstructor
@AllArgsConstructor
public class ShopTableOrderStatisticDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;

    private Integer tableId;

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

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

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

    /**
     * 创建日期 年月日
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createDay;

}
