package com.xiaoniu.system.pointsgoods.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 积分商品规格信息表
 * </p>
 *
 * @author haoxuyang
 * @since 2024-10-29 06:20:13
 */
@Getter
@Setter
@TableName("tb_points_goods_specifications")
@Schema(name = "TbPointsGoodsSpecifications", description = "积分商品规格信息表")
public class TbPointsGoodsSpecifications implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @Schema(description = "积分商品id")
    private Long pointsGoodsId;

    @Schema(description = "商品id")
    private Long goodsId;

    @Schema(description = "平台商品规格id")
    private Long specificationsId;

    @Schema(description = "平台商品规格名称")
    private String specificationsName;

    @Schema(description = "规格原价")
    private BigDecimal originalPrice;

    @Schema(description = "商品类型")
    private String goodsType;

    @Schema(description = "积分价格")
    private Integer pointsPrice;

    @Schema(description = "兑换金额")
    private BigDecimal exchangeAmount;

    @Schema(description = "状态（1-展示 2-隐藏）")
    private Integer status;
}
