package com.yh.saas.plugin.yiliangyiyun.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.Version;

import com.baomidou.mybatisplus.enums.IdType;
import com.yh.saas.common.support.entity.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 记录出入库化验数据信息
 * </p>
 *
 * @author Gongdc
 * @since 2021-05-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("warehouse_in_out_detail")
public class WarehouseInOutDetail extends BaseModel<WarehouseInOutDetail> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.UUID)
    private String id;
    /**
     * 出入库id
     */
    private String infoId;
    /**
     * 质检员
     */
    private String qualityInspector;
    /**
     * 水分
     */
    private String waterContent;
    /**
     * 杂质
     */
    private String impurity;
    /**
     * 霉变粒
     */
    private String mildewGrain;
    /**
     * 不完善粒
     */
    private String imperfectGrain;
    /**
     * 容重
     */
    private String bulkDensity;
    /**
     * 热损伤
     */
    private String jiaorenli;
    /**
     * 品级
     */
    private String grade;
    /**
     * 蛋白
     */
    private String protein;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    public static class QueryFiles {

        public static final String INFO_ID = "info_id";

        public static final String DELETE_FLAG = "delete_flag";



    }

}
