package com.bonus.canteen.core.kitchen.domain;

import java.time.LocalDateTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.bonus.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import com.bonus.common.core.web.domain.BaseEntity;

/**
 * 厨房餐余浪费对象 kitchen_waste_meal
 * 
 * @author xsheng
 * @date 2025-06-16
 */


@Data
@ToString
public class KitchenWasteMeal extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 台账Id */
    private Long ledgerId;

    /** 台账日期时间 */
    @ApiModelProperty(value = "台账日期时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "台账日期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ledgerTime;

    /** 餐次 */
    @Excel(name = "餐次")
    @ApiModelProperty(value = "餐次")
    private Long mealtimeType;

    /** 食堂Id */
    @Excel(name = "食堂Id")
    @ApiModelProperty(value = "食堂Id")
    private Long canteenId;

    /** 区域Id */
    @Excel(name = "区域Id")
    @ApiModelProperty(value = "区域Id")
    private Long areaId;

    /** 附件 */
    @Excel(name = "附件")
    @ApiModelProperty(value = "附件")
    private String fileUrl;

    @ApiModelProperty(value = "食堂名称")
    private String canteenName;

    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startDateTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endDateTime;

    @Excel(name = "区域Id")
    @ApiModelProperty(value = "厨余汇总")
    private Long wasteMealCount;
}
