package com.ruoyi.web.modules.industryservice.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 牦牛资产档案 biz_yak_asset
 */
public class BizYakAsset extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    /** 第三方牛只唯一 ID（OpenYakEntryDto.cattleId） */
    private Long externalId;

    private String yakNo;

    private Long pastureId;

    private String pastureName;

    private String batchNo;

    private String gender;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthDate;

    private Integer ageMonths;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date entryDate;

    private BigDecimal entryWeightKg;

    private String source;

    private String breedingMethod;

    private Integer assetStatus;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date statusChangeDate;

    private String statusChangeReason;

    private String penLocation;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date expectedOutDate;

    private String supplementPlan;

    private BigDecimal realtimeTemp;

    private Integer realtimeSteps;

    private BigDecimal envTemp;

    private String location;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date physioCollectTime;

    private String fatherYakNo;

    private String motherYakNo;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastSyncTime;

    private String delFlag;

    /** 列表：牦牛编号模糊 */
    private String keyword;

    public Long getId()
    {
        return id;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getExternalId()
    {
        return externalId;
    }

    public void setExternalId(Long externalId)
    {
        this.externalId = externalId;
    }

    public String getYakNo()
    {
        return yakNo;
    }

    public void setYakNo(String yakNo)
    {
        this.yakNo = yakNo;
    }

    public Long getPastureId()
    {
        return pastureId;
    }

    public void setPastureId(Long pastureId)
    {
        this.pastureId = pastureId;
    }

    public String getPastureName()
    {
        return pastureName;
    }

    public void setPastureName(String pastureName)
    {
        this.pastureName = pastureName;
    }

    public String getBatchNo()
    {
        return batchNo;
    }

    public void setBatchNo(String batchNo)
    {
        this.batchNo = batchNo;
    }

    public String getGender()
    {
        return gender;
    }

    public void setGender(String gender)
    {
        this.gender = gender;
    }

    public Date getBirthDate()
    {
        return birthDate;
    }

    public void setBirthDate(Date birthDate)
    {
        this.birthDate = birthDate;
    }

    public Integer getAgeMonths()
    {
        return ageMonths;
    }

    public void setAgeMonths(Integer ageMonths)
    {
        this.ageMonths = ageMonths;
    }

    public Date getEntryDate()
    {
        return entryDate;
    }

    public void setEntryDate(Date entryDate)
    {
        this.entryDate = entryDate;
    }

    public BigDecimal getEntryWeightKg()
    {
        return entryWeightKg;
    }

    public void setEntryWeightKg(BigDecimal entryWeightKg)
    {
        this.entryWeightKg = entryWeightKg;
    }

    public String getSource()
    {
        return source;
    }

    public void setSource(String source)
    {
        this.source = source;
    }

    public String getBreedingMethod()
    {
        return breedingMethod;
    }

    public void setBreedingMethod(String breedingMethod)
    {
        this.breedingMethod = breedingMethod;
    }

    public Integer getAssetStatus()
    {
        return assetStatus;
    }

    public void setAssetStatus(Integer assetStatus)
    {
        this.assetStatus = assetStatus;
    }

    public Date getStatusChangeDate()
    {
        return statusChangeDate;
    }

    public void setStatusChangeDate(Date statusChangeDate)
    {
        this.statusChangeDate = statusChangeDate;
    }

    public String getStatusChangeReason()
    {
        return statusChangeReason;
    }

    public void setStatusChangeReason(String statusChangeReason)
    {
        this.statusChangeReason = statusChangeReason;
    }

    public String getPenLocation()
    {
        return penLocation;
    }

    public void setPenLocation(String penLocation)
    {
        this.penLocation = penLocation;
    }

    public Date getExpectedOutDate()
    {
        return expectedOutDate;
    }

    public void setExpectedOutDate(Date expectedOutDate)
    {
        this.expectedOutDate = expectedOutDate;
    }

    public String getSupplementPlan()
    {
        return supplementPlan;
    }

    public void setSupplementPlan(String supplementPlan)
    {
        this.supplementPlan = supplementPlan;
    }

    public BigDecimal getRealtimeTemp()
    {
        return realtimeTemp;
    }

    public void setRealtimeTemp(BigDecimal realtimeTemp)
    {
        this.realtimeTemp = realtimeTemp;
    }

    public Integer getRealtimeSteps()
    {
        return realtimeSteps;
    }

    public void setRealtimeSteps(Integer realtimeSteps)
    {
        this.realtimeSteps = realtimeSteps;
    }

    public BigDecimal getEnvTemp()
    {
        return envTemp;
    }

    public void setEnvTemp(BigDecimal envTemp)
    {
        this.envTemp = envTemp;
    }

    public String getLocation()
    {
        return location;
    }

    public void setLocation(String location)
    {
        this.location = location;
    }

    public Date getPhysioCollectTime()
    {
        return physioCollectTime;
    }

    public void setPhysioCollectTime(Date physioCollectTime)
    {
        this.physioCollectTime = physioCollectTime;
    }

    public String getFatherYakNo()
    {
        return fatherYakNo;
    }

    public void setFatherYakNo(String fatherYakNo)
    {
        this.fatherYakNo = fatherYakNo;
    }

    public String getMotherYakNo()
    {
        return motherYakNo;
    }

    public void setMotherYakNo(String motherYakNo)
    {
        this.motherYakNo = motherYakNo;
    }

    public Date getLastSyncTime()
    {
        return lastSyncTime;
    }

    public void setLastSyncTime(Date lastSyncTime)
    {
        this.lastSyncTime = lastSyncTime;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getKeyword()
    {
        return keyword;
    }

    public void setKeyword(String keyword)
    {
        this.keyword = keyword;
    }
}
