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;

/**
 * 商品发布明细表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("BD_WARES_DETAIL")
@KeySequence("BD_WARES_DETAIL_SEQ")
public class BdWaresDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

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

    /**
     * 产品主键
     */
    @TableField("PK_PRODUCT")
    private Integer pkProduct;

    /**
     * 数量 文档为number 但是number为关键字
     */
    @TableField("QUANTITY")
    private Integer quantity;

    /**
     * 是否赠品
     */
    @TableField("IS_GIFT")
    private Integer isGift;


}
