package com.huimv.apiservice.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author yinhao
 * @date 2021/5/26 13:24
 */
@Data
@TableName("mgt_sow_childbirth")
public class SowChildbirthEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
    private Integer id;

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

    /**
     * 产子时体重
     */
    private Double childbirthWeight;

    /**
     * 怀孕日期
     */
    private Date pregnancyDate;

    /**
     * 产子个数
     */
    private Integer childbirthCount;

    @TableLogic
    private Integer deleted;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;
    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

}
