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

import java.util.Date;
import com.ruoyi.common.core.domain.BaseEntity;

/** 养殖批次，映射 biz_farming_batch */
public class BizFarmingBatch extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;
    private Long externalId;
    private String batchNo;
    private String batchName;
    private Long pastureId;
    private Long farmExternalId;
    private Long enclosureExternalId;
    private Long enclosureId;
    private Long planExternalId;
    private String cattleVariety;
    private Integer plannedQuantity;
    private Integer entryQuantity;
    private Integer currentQuantity;
    private Integer leaveQuantity;
    private Integer deathQuantity;
    private Date startTime;
    private Date endTime;
    private Long managerUserId;
    private String batchStatus;
    private Date externalCreateTime;
    private String dataSource;
    private Date lastSyncTime;
    private String delFlag;

    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 getBatchNo() { return batchNo; }
    public void setBatchNo(String batchNo) { this.batchNo = batchNo; }
    public String getBatchName() { return batchName; }
    public void setBatchName(String batchName) { this.batchName = batchName; }
    public Long getPastureId() { return pastureId; }
    public void setPastureId(Long pastureId) { this.pastureId = pastureId; }
    public Long getFarmExternalId() { return farmExternalId; }
    public void setFarmExternalId(Long farmExternalId) { this.farmExternalId = farmExternalId; }
    public Long getEnclosureExternalId() { return enclosureExternalId; }
    public void setEnclosureExternalId(Long enclosureExternalId) { this.enclosureExternalId = enclosureExternalId; }
    public Long getEnclosureId() { return enclosureId; }
    public void setEnclosureId(Long enclosureId) { this.enclosureId = enclosureId; }
    public Long getPlanExternalId() { return planExternalId; }
    public void setPlanExternalId(Long planExternalId) { this.planExternalId = planExternalId; }
    public String getCattleVariety() { return cattleVariety; }
    public void setCattleVariety(String cattleVariety) { this.cattleVariety = cattleVariety; }
    public Integer getPlannedQuantity() { return plannedQuantity; }
    public void setPlannedQuantity(Integer plannedQuantity) { this.plannedQuantity = plannedQuantity; }
    public Integer getEntryQuantity() { return entryQuantity; }
    public void setEntryQuantity(Integer entryQuantity) { this.entryQuantity = entryQuantity; }
    public Integer getCurrentQuantity() { return currentQuantity; }
    public void setCurrentQuantity(Integer currentQuantity) { this.currentQuantity = currentQuantity; }
    public Integer getLeaveQuantity() { return leaveQuantity; }
    public void setLeaveQuantity(Integer leaveQuantity) { this.leaveQuantity = leaveQuantity; }
    public Integer getDeathQuantity() { return deathQuantity; }
    public void setDeathQuantity(Integer deathQuantity) { this.deathQuantity = deathQuantity; }
    public Date getStartTime() { return startTime; }
    public void setStartTime(Date startTime) { this.startTime = startTime; }
    public Date getEndTime() { return endTime; }
    public void setEndTime(Date endTime) { this.endTime = endTime; }
    public Long getManagerUserId() { return managerUserId; }
    public void setManagerUserId(Long managerUserId) { this.managerUserId = managerUserId; }
    public String getBatchStatus() { return batchStatus; }
    public void setBatchStatus(String batchStatus) { this.batchStatus = batchStatus; }
    public Date getExternalCreateTime() { return externalCreateTime; }
    public void setExternalCreateTime(Date externalCreateTime) { this.externalCreateTime = externalCreateTime; }
    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 getDelFlag() { return delFlag; }
    public void setDelFlag(String delFlag) { this.delFlag = delFlag; }
}
