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

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("menu_dishes_size")
@ApiModel("菜品销售规格")
public class MenuDishesSize extends Model<MenuDishesSize> {
   @ApiModelProperty("主键id")
   private Long baseDishesId;
   @ApiModelProperty("主键id")
   private Long sizeId;
   @ApiModelProperty("菜品id")
   private String sizeName;
   @TableField(
      value = "create_by",
      fill = FieldFill.INSERT
   )
   @ApiModelProperty("创建人")
   private String createBy;
   @ApiModelProperty("创建时间")
   private LocalDateTime createTime;
   @TableField(
      value = "update_by",
      fill = FieldFill.UPDATE
   )
   @ApiModelProperty("更新人")
   private String updateBy;
   @ApiModelProperty("更新时间")
   private LocalDateTime updateTime;



}
