package com.xingxi.master.product.domain;

import com.xingxi.common.annotation.Excel;
import com.xingxi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * 商品属性价格对象 m_prod_attr_price
 *
 * @author xingxi
 * @date 2025-03-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString
public class ProdAttrPrice extends BaseEntity {
    private static final long serialVersionUID = 1L;

    // 主键
    private Long prodAttrPriceId;

    // 商品ID
    @Excel(name = "商品ID")
    private Long prodId;

    // 商品属性ID
    @Excel(name = "商品属性ID")
    private Long prodAttrId;

    // 采购方ID
    @Excel(name = "采购方ID")
    private Long buyerId;

    // 采购方角色
    @Excel(name = "采购方角色")
    private String buyerRoleKey;

    // 销售方
    @Excel(name = "销售方")
    private Long sellerId;

    // 销售方角色
    @Excel(name = "销售方角色")
    private String sellerRoleKey;

    // 单价
    @Excel(name = "单价")
    private BigDecimal price;

    // 删除标志
    @Excel(name = "删除标志")
    private String delFlag;
}
