package com.hzs.common.domain.sale.wares;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 规格sku表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("BD_WARES_SPECS_SKU")
@KeySequence("WARES_SPECS_SKU_SEQ")
public class BdWaresSpecsSku extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("PK_ID")
    private Integer pkId;

    /**
     * 商品主键
     */
    @TableField("PK_WARES")
    private Integer pkWares;

    /**
     * 商品明细主键
     */
    @TableField("PK_WARES_DETAIL")
    private Integer pkWaresDetail;

    /**
     * 价格
     */
    @TableField("PRICE")
    private BigDecimal price;

    /**
     * 业绩
     */
    @TableField("ACHIEVE")
    private BigDecimal achieve;

    /**
     * 规格封面
     */
    @TableField("SPEC_COVER")
    private String specCover;

    /**
     * 是否上架
     */
    @TableField("IS_PUT_ON")
    private Integer isPutOn;

    /**
     * 商品bv
     */
    @TableField("ASS_ACHIEVE")
    private BigDecimal assAchieve;

    /**
     * 会员价
     */
    @TableField("VIP_PRICE")
    private BigDecimal vipPrice;

    /**
     * 零售价
     */
    @TableField("RETAIL_PRICE")
    private BigDecimal retailPrice;

    /**
     * 新直销sku
     */
    @TableField("SKU_CODE")
    private String skuCode;

}
