package com.fjhx.supply.entity.supplier.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BasePo;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * <p>
 * 供应商价格
 * </p>
 *
 * @author zlj
 * @since 2023-03-17
 */
@Getter
@Setter
@TableName("supplier_price")
public class SupplierPrice extends BasePo {

    /**
     * 供应商id
     */
    @NotNull(message = "供应商id不能为空")
    private Long supplierInfoId;

    /**
     * 产品id
     */
    private Long productInfoId;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 归属公司id
     */
    private Long companyId;

}
