package com.zhyc.module.dairyProducts.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.zhyc.common.annotation.Excel;
import com.zhyc.common.core.domain.BaseEntity;

/**
 * 鲜奶生产，成品检验记录对象 np_fresh_milk_insp
 * * @author ruoyi
 * @date 2025-07-18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class NpFreshMilkInsp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 来源 */
    @Excel(name = "来源")
    private String source;

    /** 检测日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "检测日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date datetime;

    /** 脂肪g/100g */
    @Excel(name = "脂肪g/100g")
    private Double fat;

    /** 蛋白质g/100g */
    @Excel(name = "蛋白质g/100g")
    private Double protein;

    /** 非脂g/100g */
    @Excel(name = "非脂g/100g")
    private Double nonFat;

    /** 酸度oT */
    @Excel(name = "酸度oT")
    private Double acidity;

    /** 菌落总数CFU/ml_1 */
    @Excel(name = "菌落总数CFU/ml_1")
    private Double bacterialColony1;

    /** 菌落总数CFU/ml_2 */
    @Excel(name = "菌落总数CFU/ml_2")
    private Double bacterialColony2;

    /** 菌落总数CFU/ml_3 */
    @Excel(name = "菌落总数CFU/ml_3")
    private Double bacterialColony3;

    /** 菌落总数CFU/ml_4 */
    @Excel(name = "菌落总数CFU/ml_4")
    private Double bacterialColony4;

    /** 菌落总数CFU/ml_5 */
    @Excel(name = "菌落总数CFU/ml_5")
    private Double bacterialColony5;

    /** 大肠菌群CFU/ml */
    @Excel(name = "大肠菌群CFU/ml")
    private Double coli;

    /** 乳铁蛋白（mg/L） */
    @Excel(name = "乳铁蛋白", readConverterExp = "m=g/L")
    private Double lactoferrin;

    /** 免疫球蛋白（mg/l） */
    @Excel(name = "免疫球蛋白", readConverterExp = "m=g/l")
    private Double ig;

    /** 备注 */
    @Excel(name = "备注")
    private String commnet;

    /** 用户ID */
    @Excel(name = "用户编号", type = Excel.Type.IMPORT)
    private Long userId;

    /** 部门ID */
    @Excel(name = "部门编号", type = Excel.Type.IMPORT)
    private Long deptId;

}
