package shop.alien.entity.store;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 美食套餐表(辅助详情查询)
 *
 * @author auto-generated
 * @since 2025-01-01
 */
@Data
@JsonInclude
@TableName("store_cuisine_combo")
@ApiModel(value = "StoreCuisineCombo对象", description = "美食套餐表(辅助详情查询)")
public class StoreCuisineCombo {

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "单品id")
    @TableField("sid")
    private Integer sid;

    @ApiModelProperty(value = "套餐id")
    @TableField("cid")
    private Integer cid;

    @ApiModelProperty(value = "套餐包含该单品的数量")
    @TableField("snum")
    private Integer snum;

    @ApiModelProperty(value = "类别")
    @TableField("category")
    private String category;

    @ApiModelProperty(value = "删除标记, 0:未删除, 1:已删除")
    @TableField("delete_flag")
    @TableLogic
    private Integer deleteFlag;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "created_user_id", fill = FieldFill.INSERT)
    private Integer createdUserId;

    @ApiModelProperty(value = "更新人")
    @TableField(value = "updated_user_id", fill = FieldFill.UPDATE)
    private Integer updatedUserId;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "created_time", fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "updated_time", fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatedTime;
}



