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

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

import java.util.List;

/**
 * <p>
 * 商品标签表
 * </p>
 *
 * @author hzs
 * @since 2022-10-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("BD_WARES_LABEL")
@KeySequence("BD_WARES_LABEL_SEQ")
public class BdWaresLabel extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

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

    /**
     * 标签类型
     */
    @TableField("LABEL_TYPE")
    private Integer labelType;

    /**
     * 标签主键
     */
    @TableField("PK_LABLE")
    private Integer pkLable;


    @TableField(exist = false)
    private List<Integer> pkIdList;

}
