package com.liquidnet.service.goblin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 演出-收钱吧商品关联
 * </p>
 *
 * @author liquidnet
 * @since 2025-01-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("goblin_sqb_performance_goods")
public class GoblinSqbPerformanceGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "mid", type = IdType.AUTO)
    private Long mid;

    /**
     * 演出ID
     */
    private String performancesId;

    /**
     * 商品ID
     */
    private String spuId;

    /**
     * SKU ID
     */
    private String skuId;

    /**
     * 排序权重
     */
    private Integer sort;

    /**
     * 换购价格（不设置则按商品售价售卖）
     */
    private BigDecimal settlementPrice;

    /**
     * 状态 0-禁用 1-启用
     */
    private Integer status;

    private String createdAt;

    private String updatedAt;

}
