package com.bs.pm.domain;

import java.math.BigDecimal;
import com.bs.common.annotation.Excel;
import com.bs.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

/**
 * 换购商品对象 pm_exchange_goods
 *
 * @author bs
 * @date 2025-10-05
 */
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("pm_exchange_goods")
@Data
public class PmExchangeGoods extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;

    /** 商品名称 */

    @Excel(name = "商品名称")
    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    /** 商品编码 */

    @Excel(name = "商品编码")
    @ApiModelProperty(value = "商品编码")
    private String goodsCode;

    /** 商品规格 */

    @Excel(name = "商品规格")
    @ApiModelProperty(value = "商品规格")
    private String goodsSepc;

    /** 换购类型 */

    @Excel(name = "换购类型")
    @ApiModelProperty(value = "换购类型")
    private String exchangeType;

    /** 所需积分 */

    @Excel(name = "所需积分")
    @ApiModelProperty(value = "所需积分")
    private Long requiredPoint;

    /** 所需金额 */

    @Excel(name = "所需金额")
    @ApiModelProperty(value = "所需金额")
    private BigDecimal requiredAmount;

    /** 库存数量 */

    @Excel(name = "库存数量")
    @ApiModelProperty(value = "库存数量")
    private BigDecimal stockQuantity;

    /** 库存预警值 */

    @Excel(name = "库存预警值")
    @ApiModelProperty(value = "库存预警值")
    private BigDecimal warningStock;

    /** 商品图片 */

    @Excel(name = "商品图片")
    @ApiModelProperty(value = "商品图片")
    private Long goodsImage;

    /** 商品详情 */

    @Excel(name = "商品详情")
    @ApiModelProperty(value = "商品详情")
    private String goodsDesc;

    /** 状态 */

    @Excel(name = "状态")
    @ApiModelProperty(value = "状态")
    private String status;


    /** $column.columnComment */

    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @ApiModelProperty(value = "${column.columnComment}")
    private String column21;




}
