package cn.iocoder.yudao.module.system.dal.dataobject.restaurant;

import cn.iocoder.yudao.module.system.controller.admin.restaurant.enums.MealName;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;

/**
 * 员工报餐核销详情 DO
 *
 * @author 系统管理员
 */
@TableName("restaurant_dishes_order_report_detail")
@KeySequence("restaurant_dishes_order_report_detail_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DishesOrderReportDetail {
    private Long id;
    private Long orderId;
    /**
     * 用户类型 BREAKFAST/LUNCH/DINNER
     */
    @Schema(description = "点餐类型")
    @ExcelIgnore
    private MealName mealName;
    private Integer mealStatus;
    private LocalDateTime createdAt;
}
