package com.huimv.apiservice.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author yinhao
 * @date 2021/5/8 16:50
 * @Description
 */
@Data
public class PigBaseVo {

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

    /**
     * 体重
     */
    private Double weight;

    /**
     * 日龄
     */
    private Integer dayAge;

    /**
     * 品种
     */
    private String breed;

    /**
     * 出生日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GTM+8")
    private Date birthday;

    /**
     * 养殖员
     */
    private String feeder;

    /**
     * 养殖场名称
     */
    private String pigsty;

    /**
     * 栏期编号
     */
    private String periodNumber;

    /**
     * 入栏时间
     */
    private Date inFenceTime;

    /**
     * 出栏时间
     */
    private Date outFenceTime;

    /**
     * 母亲
     */
    private PigPedigreeMotherVo mother;

    /**
     * 父亲
     */
    private PigPedigreeFatherVo father;





}
