package com.jeeplus.hotelorder.dish.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jeeplus.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "hotel_dish_log")
public class HotelDishLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 菜品ID */
    private String dishId;

    /** 菜品名称(冗余) */
    private String dishName;

    /** 操作类型: CREATE/EDIT/DELETE/ON_SALE/OFF_SHELF/SOLD_OUT/RESTORE */
    private String operationType;

    /** 变更前值(JSON) */
    private String oldValue;

    /** 变更后值(JSON) */
    private String newValue;

    /** 备注 */
    private String remark;
}
