package com.erp.product.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 商品-供应商关联表实体
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("goods_supplier")
public class GoodsSupplier {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    /**
     * 商品ID
     */
    @TableField("goods_id")
    private Long goodsId;
    
    /**
     * 供应商ID
     */
    @TableField("supplier_id")
    private Long supplierId;
}
