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

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

/**
 * 牦牛疾病预警 biz_yak_disease_warning
 */
public class BizYakDiseaseWarning extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    private String externalAlertId;

    private String yakNo;

    private Long pastureId;

    private String pastureName;

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

    private String alertMessage;

    private Integer warningType;

    private String measuredValue;

    private String referenceRange;

    private String deviceNo;

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

    private String yakAvatarUrl;

    private String dataSource;

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

    /** 列表筛选：预警开始日 yyyy-MM-dd */
    private String startDate;

    /** 列表筛选：预警结束日 yyyy-MM-dd */
    private String endDate;

    /** 查询注入：预警时间下界 */
    private Date alertTimeBegin;

    /** 查询注入：预警时间上界 */
    private Date alertTimeEnd;

    /** 数据权限：可见牧场 ID 列表；null 表示不限制 */
    private List<Long> allowedPastureIds;

    /** 详情附加：关联档案 ID */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long yakAssetId;

    public Long getId()
    {
        return id;
    }

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

    public String getExternalAlertId()
    {
        return externalAlertId;
    }

    public void setExternalAlertId(String externalAlertId)
    {
        this.externalAlertId = externalAlertId;
    }

    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 Date getAlertTime()
    {
        return alertTime;
    }

    public void setAlertTime(Date alertTime)
    {
        this.alertTime = alertTime;
    }

    public String getAlertMessage()
    {
        return alertMessage;
    }

    public void setAlertMessage(String alertMessage)
    {
        this.alertMessage = alertMessage;
    }

    public Integer getWarningType()
    {
        return warningType;
    }

    public void setWarningType(Integer warningType)
    {
        this.warningType = warningType;
    }

    public String getMeasuredValue()
    {
        return measuredValue;
    }

    public void setMeasuredValue(String measuredValue)
    {
        this.measuredValue = measuredValue;
    }

    public String getReferenceRange()
    {
        return referenceRange;
    }

    public void setReferenceRange(String referenceRange)
    {
        this.referenceRange = referenceRange;
    }

    public String getDeviceNo()
    {
        return deviceNo;
    }

    public void setDeviceNo(String deviceNo)
    {
        this.deviceNo = deviceNo;
    }

    public Date getCollectTime()
    {
        return collectTime;
    }

    public void setCollectTime(Date collectTime)
    {
        this.collectTime = collectTime;
    }

    public String getYakAvatarUrl()
    {
        return yakAvatarUrl;
    }

    public void setYakAvatarUrl(String yakAvatarUrl)
    {
        this.yakAvatarUrl = yakAvatarUrl;
    }

    public String getDataSource()
    {
        return dataSource;
    }

    public void setDataSource(String dataSource)
    {
        this.dataSource = dataSource;
    }

    public Date getLastSyncTime()
    {
        return lastSyncTime;
    }

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

    public String getStartDate()
    {
        return startDate;
    }

    public void setStartDate(String startDate)
    {
        this.startDate = startDate;
    }

    public String getEndDate()
    {
        return endDate;
    }

    public void setEndDate(String endDate)
    {
        this.endDate = endDate;
    }

    public Date getAlertTimeBegin()
    {
        return alertTimeBegin;
    }

    public void setAlertTimeBegin(Date alertTimeBegin)
    {
        this.alertTimeBegin = alertTimeBegin;
    }

    public Date getAlertTimeEnd()
    {
        return alertTimeEnd;
    }

    public void setAlertTimeEnd(Date alertTimeEnd)
    {
        this.alertTimeEnd = alertTimeEnd;
    }

    public List<Long> getAllowedPastureIds()
    {
        return allowedPastureIds;
    }

    public void setAllowedPastureIds(List<Long> allowedPastureIds)
    {
        this.allowedPastureIds = allowedPastureIds;
    }

    public Long getYakAssetId()
    {
        return yakAssetId;
    }

    public void setYakAssetId(Long yakAssetId)
    {
        this.yakAssetId = yakAssetId;
    }
}
