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

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 员工报餐统计 DO
 *
 * @author 系统管理员
 */
@TableName("restaurant_dishes_order_report_v2")
@KeySequence("restaurant_dishes_order_report_v2_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class EmployeeDishesOrderReportDO {

    /**
     * 主键ID
     */
    @TableId
    private Long id;

    private String orderId;

    /**
     * 员工ID
     */
    @Schema(description = "员工ID")
    private String employeeOpenId;
    /**
     * 员工姓名
     */
    @Schema(description = "员工姓名")
    private String employeeName;
    /**
     * 租户ID
     */
    @Schema(description = "租户ID")
    private Integer tenantId;
    /**
     * mealDate
     */
    @Schema(description = "用餐日期")
    private Date mealDate;

    /**
     * 用餐时间
     */
    @Schema(description = "用餐时间")
    private String mealTimes;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remarks;

    /**
     * 状态，0：待送达 1：已送达  2：已取消
     */
    @Schema(description = "状态，0：待送达 1：已送达  2：已取消")
    private Integer status;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private Date createdTime;
    /**
     * mealDate
     */
    @Schema(description = "用餐日期")
    @TableField(exist = false)
    private String mealDateFormat;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    @TableField(exist = false)
    private String createdTimeFormat;
}
