package com.cyksj.model.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author zwhui
 * @date 2024/4/24 14:54
 */
@Data
public class UpgradePackage extends BaseEntity{

    /**
     * 套餐名称
     */
    private String name;

    /**
     * 商品id
     */
    private Long goodsId;

    /**
     * 商品规格id
     */
    private String skuIds;

    /**
     * 升级规格
     */
    private Long upgradeSkuId;

    /**
     * gpt类型,0.车票套餐
     */
    private Integer gptType;

    /**
     * 套餐价格
     */
    private BigDecimal price;

    /**
     * 时间限制
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long time;

    /**
     * 数量
     */
    private Integer num;

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

    /**
     * true 上架 / false 下架
     */
    private Boolean status;

    /**
     * true 存在 / false 删除
     */
    private Boolean deleted;
}
