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

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.*;
import lombok.experimental.Accessors;

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

    private static final long serialVersionUID = 1L;

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

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

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

    /**
     * 规格id
     */
    @TableField("PK_SPECS")
    private Integer pkSpecs;

    /**
     * 规格名称
     */
    @TableField(exist = false)
    private String specsName;


}
