package com.jeesharp.business.modules.mall.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jeesharp.framework.mybatis.core.dataobject.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * SPU与规格关联
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("mall_spu_spec")
public class MallSpuSpec extends BaseEntity<MallSpuSpec> {

    /**
     * SPU ID
     */
    private String spuId;

    /**
     * 规格ID
     */
    private String specId;

    /**
     * 规格名称（冗余字段）
     */
    private String specName;

    /**
     * 排序号
     */
    private Integer sortOrder;
}