package com.ruoyi.web.base.domain;

import com.baomidou.mybatisplus.annotation.TableName;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.web.base.domain.base.Base;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 供应商入库单，货品表
 * </p>
 *
 * @author author
 * @since 2026-02-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("procure_receiving_goods")
@ApiModel(value="ProcureReceivingGoods对象", description="供应商入库单，货品表")
public class ProcureReceivingGoods extends Base {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "单据编号")
    private String receivingNum;

    @ApiModelProperty(value = "货品编号")
    private String goodsNum;

    @ApiModelProperty(value = "名称")
    private String goodsName;

    @ApiModelProperty(value = "规格")
    private String goodsSpec;

    @ApiModelProperty(value = "仓库")
    private String warehouseName;

    @ApiModelProperty(value = "批次")
    private String batch;

    @ApiModelProperty(value = "到场方式")
    private String arriveMethod;

    @ApiModelProperty(value = "牧场重量")
    private String ranchWeight;

    @ApiModelProperty(value = "到场重量")
    private String arriveWeight;

    @ApiModelProperty(value = "基本计量数量")
    private String baseNum;

    @ApiModelProperty(value = "基本计量单位")
    private String baseUnit;

    @ApiModelProperty(value = "辅助计量数量")
    private String assNum;

    @ApiModelProperty(value = "辅助计量单位")
    private String assUnit;

    @ApiModelProperty(value = "单价")
    private String unitPrice;

    @ApiModelProperty(value = "金额")
    private String amount;

    @ApiModelProperty(value = "交货日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date deliveryDate;

    @ApiModelProperty(value = "结算方式")
    private String settlementMethod;

    @ApiModelProperty(value = "经营类型")
    private String businessType;

    @ApiModelProperty(value = "预估级别")
    private String estimateLevel;

    @ApiModelProperty(value = "预估重量")
    private String estimateWeight;

    @ApiModelProperty(value = "是否黑猪扣款")
    private String isDeduction;
    private String conversionValue;
    private String warehouseNo;


}
