package com.jwipc.spe.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 物料批次合格率
 * </p>
 *
 * @author Al
 * @since 2024-04-11
 */
@Getter
@Setter
@TableName("material_batch_qualified")
public class MaterialBatchQualified implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 年月
     */
    private LocalDate batchTime;

    /**
     * 供应商编码
     */
    private String supplierCode;

    /**
     * 供应商名称
     */
    private String supplierName;

    /**
     * 物料名称
     */
    private String materialName;

    /**
     * 物料编号
     */
    private String materialCode;

    /**
     * 收到总批次
     */
    private Long getTotalBatch;

    /**
     * 合格批次
     */
    private Long qualifiedBatch;

    /**
     * 判退批次
     */
    private Long rejectionBatch;

    /**
     * 免检批次
     */
    private Long exemptionBatch;

    /**
     * LAR
     */
    private BigDecimal lar;

    /**
     * 删除标识 0:未删除 1:已删除
     */
    private Long deleteFlag;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;
}
