package com.ruoyi.oa.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * CRM 商机产品关联对象 oa_business_product
 *
 * @author ruoyi
 * @date 2025-03-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("oa_business_product")
public class OaBusinessProduct extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "business_product_id")
    private Long businessProductId;
    /**
     * 商机编号
     */
    private Long businessId;
    /**
     * 产品编号
     */
    private Long productId;
    /**
     * 产品单价
     */
    private BigDecimal productPrice;
    /**
     * 商机价格
     */
    private BigDecimal businessPrice;
    /**
     * 数量
     */
    private BigDecimal count;
    /**
     * 总计价格
     */
    private BigDecimal totalPrice;
    /**
     * 是否删除
     */
    @TableLogic
    private Long delFlag;

}
