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

import java.math.BigDecimal;
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_deal
 * 
 * @author xsheng
 * @date 2025-06-16
 */


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

    /** 主键id */
    private Long wasteId;

    /** 重量 */
    @Excel(name = "重量")
    @ApiModelProperty(value = "重量")
    private BigDecimal weight;

    /** 废弃物名称 */
    @Excel(name = "废弃物名称")
    @ApiModelProperty(value = "废弃物名称")
    private String garbageName;

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

    /** 设备Id */
    @Excel(name = "设备Id")
    @ApiModelProperty(value = "设备Id")
    private Long deviceId;

    /** 餐次 */
    @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;

    /** 处理方式: 1-丢弃,2-下一餐使用,3-集中售卖 */
    @Excel(name = "处理方式: 1-丢弃,2-下一餐使用,3-集中售卖")
    @ApiModelProperty(value = "处理方式: 1-丢弃,2-下一餐使用,3-集中售卖")
    private Long dealType;

    /** 售卖金额 */
    @Excel(name = "售卖金额")
    @ApiModelProperty(value = "售卖金额")
    private BigDecimal saleAmount;

    /** 现场照片 */
    @Excel(name = "现场照片")
    @ApiModelProperty(value = "现场照片")
    private String scenePicture;

    /** 处理人id */
    @Excel(name = "处理人id")
    @ApiModelProperty(value = "处理人id")
    private Long staffId;

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

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