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_settlement_goods")
@ApiModel(value="ProcureSettlementGoods对象", description="采购结算单,物料单")
public class ProcureSettlementGoods extends Base {

    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "结算日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date settlementDate;

    @ApiModelProperty(value = "采购日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date receivingDate;

    @ApiModelProperty(value = "屠宰日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date slaughterDate;

    @ApiModelProperty(value = "供应商编号")
    private String supplierNum;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

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

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

    @ApiModelProperty(value = "结算数量")
    private String settlementNum;

    @ApiModelProperty(value = "结算重量")
    private String settlementWeight;

    @ApiModelProperty(value = "结算价格")
    private String settlementPrice;

    @ApiModelProperty(value = "采购加分")
    private String procurementAdd;

    @ApiModelProperty(value = "采购减分")
    private String procurementDed;

    @ApiModelProperty(value = "牧场出肉率")
    private String ranchMeatYield;

    @ApiModelProperty(value = "到场出肉率")
    private String arriveMeatYield;

    @ApiModelProperty(value = "预估平均级别")
    private String estimateAverageLevel;

    @ApiModelProperty(value = "白毛数")
    private String whiteHairNum;

    @ApiModelProperty(value = "黑毛数")
    private String blackHairNum;

    @ApiModelProperty(value = "平均重量")
    private String averageWeight;

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

    @ApiModelProperty(value = "运费")
    private String shippingFee;

    @ApiModelProperty(value = "途亡数")
    private Integer wayDieNum;

    @ApiModelProperty(value = "未到数")
    private Integer notYetArrived;

    @ApiModelProperty(value = "不合格数")
    private Integer unqualifiedNum;

    @ApiModelProperty(value = "圈亡数")
    private Integer circleDieNum;

    @ApiModelProperty(value = "进场扣款")
    private String entryDeduction;

    @ApiModelProperty(value = "级别扣款")
    private String levelDeduction;

    @ApiModelProperty(value = "重量扣款")
    private String weightDeduction;

    @ApiModelProperty(value = "采购扣款")
    private String procurementDeduction;

    @ApiModelProperty(value = "其它扣款")
    private String otherDeduction;

    @ApiModelProperty(value = "圈亡补款")
    private String circleDiePay;

    @ApiModelProperty(value = "其它补款")
    private String otherPay;

    @ApiModelProperty(value = "未付金额")
    private String unpaidAmount;

    @ApiModelProperty(value = "已付金额")
    private String payAmount;

    @ApiModelProperty(value = "结算金额")
    private String settlementAmount;

    @ApiModelProperty(value = "单据状态")
    private String settlementStatus;

}
