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

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

/**
 * <p>
 * 规格明细表
 * </p>
 *
 * @author hzs
 * @since 2022-09-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("BD_PRODUCT_SPECS")
@KeySequence("BD_PRODUCT_SPECS_SEQ")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BdProductSpecs extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

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

    /**
     * 规格类型
     */
    @TableField("PK_SPECS_TYPE")
    private Integer pkSpecsType;

    @TableField(exist = false)
    private Integer pkProductBas;

}
