package com.czg.product.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 商品分组关系
 *
 * @author Tankaikai tankaikai@aliyun.com
 * @since 1.0 2025-02-17
 */
@Data
@Table("tb_prod_group_relation")
public class ProdGroupRelation implements Serializable {

    @Serial
	private static final long serialVersionUID = 1L;

	/**
	* 商品id
	*/
	@Id(keyType = KeyType.None)
	private Long productId;
	/**
	* 商品分组id
	*/
	@Id(keyType = KeyType.None)
	private Long prodGroupId;
	/**
	* 排序值
	*/
	private Integer sort;
}