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_yogurt_insp
 * * @author ruoyi
 * @date 2025-07-17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class NpYogurtInsp 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/g）_1 */
    @Excel(name = "菌落总数", readConverterExp = "C=FU/g")
    private Double bacterialColony1;

    /** 菌落总数（CFU/g）_2 */
    @Excel(name = "菌落总数", readConverterExp = "C=FU/g")
    private Double bacterialClony2;

    /** 菌落总数（CFU/g）_3 */
    @Excel(name = "菌落总数", readConverterExp = "C=FU/g")
    private Double bacterialClony3;

    /** 菌落总数（CFU/g）_4 */
    @Excel(name = "菌落总数", readConverterExp = "C=FU/g")
    private Double bacterialClony4;

    /** 菌落总数（CFU/g）_5 */
    @Excel(name = "菌落总数", readConverterExp = "C=FU/g")
    private Double bacterialClony5;

    /** 酵母菌(CFU/g) */
    @Excel(name = "酵母菌(CFU/g)")
    private Double yeast;

    /** 霉菌（CFU/g） */
    @Excel(name = "霉菌", readConverterExp = "C=FU/g")
    private Double mould;

    /** 乳酸菌数（CFU/g） */
    @Excel(name = "乳酸菌数", readConverterExp = "C=FU/g")
    private Double lacto;

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

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

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

}