package com.zhyc.module.dairyProducts.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhyc.common.annotation.Excel;



public class NpMilkProdClasses implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;  // 主键ID
    private Date createTime;  // 创建时间
    private Date updateTime;  // 更新时间

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", dateFormat = "yyyy-MM-dd")  // 添加日期格式
    private Date datetime;

    @Excel(name = "管理耳号")
    private String manageEarNo;

    @Excel(name = "电子耳号")
    private String electronicEarNo;

    @Excel(name = "胎次")
    private Integer parity;

    @Excel(name = "厂区")
    private String factory;

    @Excel(name = "班次")
    private Integer classes;

    @Excel(name = "班次产奶量", numFormat = "0.00")
    private Double milk;

    @Excel(name = "班次校正奶量", numFormat = "0.00")
    private Double correctedMilk;

    private String sheepId;

    // Getters and Setters
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }

    public Date getCreateTime() { return createTime; }
    public void setCreateTime(Date createTime) { this.createTime = createTime; }

    public Date getUpdateTime() { return updateTime; }
    public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; }

    public Date getDatetime() { return datetime; }
    public void setDatetime(Date datetime) { this.datetime = datetime; }

    public String getManageEarNo() { return manageEarNo; }
    public void setManageEarNo(String manageEarNo) { this.manageEarNo = manageEarNo; }

    public String getElectronicEarNo() { return electronicEarNo; }
    public void setElectronicEarNo(String electronicEarNo) { this.electronicEarNo = electronicEarNo; }

    public Integer getParity() { return parity; }
    public void setParity(Integer parity) { this.parity = parity; }

    public String getFactory() { return factory; }
    public void setFactory(String factory) { this.factory = factory; }

    public Integer getClasses() { return classes; }
    public void setClasses(Integer classes) { this.classes = classes; }

    public Double getMilk() { return milk; }
    public void setMilk(Double milk) { this.milk = milk; }

    public Double getCorrectedMilk() { return correctedMilk; }
    public void setCorrectedMilk(Double correctedMilk) { this.correctedMilk = correctedMilk; }

    public String getSheepId() { return sheepId; }
    public void setSheepId(String sheepId) { this.sheepId = sheepId; }
}