package com.ruoyi.mall.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 商品关联
 */
@Data
@TableName("product_ssociation")
public class ProductAssociation {
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
    private Long sourceProductId;
    private Long targetProductId;
    private Double score; // 关联强度分数
    private String associationType; // 关联类型
}
