package cn.ezhizao.project.business.supplier.domain;

import cn.ezhizao.framework.aspectj.lang.annotation.Excel;
import cn.ezhizao.framework.web.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 供应商 biz_supplier_product
 *
 * @author ezhizao
 * date    2024-04-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "biz_supplier_product")
public class BizSupplierProduct extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "租户（厂别）id")
    private Long tenantId;

    @ApiModelProperty(value = "外协商id")
    private Long supplierId;

    @Excel(name = "外协商名称")
    @ApiModelProperty(value = "外协商名称")
    private String supplierName;

    @ApiModelProperty(value = "产品id")
    private Long productId;

    @ApiModelProperty(value = "料号")
    private String productCode;

    @Excel(name = "产品描述")
    @ApiModelProperty(value = "产品描述")
    private String productDescription;

    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;
}
