package com.huimv.eartag.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 牛只档案
 * </p>
 *
 * @author author
 * @since 2022-06-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("feed_fowl_record")
public class FeedFowlRecord implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 家禽编号
     */
    private String fowlCode;

    /**
     * 来源
     */
    private String source;

    /**
     * 父系编号
     */
    private String fatherCode;

    /**
     * 母系编号
     */
    private String motherCode;

    /**
     * 耳标号
     */
    private String earmark;

    /**
     * 打耳标日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date wearDate;

    /**
     * 打耳标日龄
     */
    private Integer birthDay;

    /**
     * 日龄
     */
    private Integer day;

    /**
     * 个体温度
     */
    private Float earTemp;

    /**
     * 群体温度
     */
    private Float aveTemp;

    /**
     * 环境温度
     */
    private Float envTemp;

    /**
     * 栋舍编号
     */
    private String buildCode;

    /**
     * 栋舍名称
     */
    private String buildName;
    private Integer status;


}
