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

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

/**
 * 牧场管理实体，映射表 {@code biz_pasture}（仅第三方 OpenFarmVo 字段 + 同步元数据）。
 */
public class BizPasture extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 本地主键 */
    private Long id;

    /** 第三方编号 OpenFarmVo.id */
    private Long externalId;

    /** 养殖场名称 OpenFarmVo.farmName */
    private String pastureName;

    /** 养殖场类型 OpenFarmVo.farmType */
    private String farmType;

    /** 简介 OpenFarmVo.introduction */
    private String introduction;

    /** 纬度 OpenFarmVo.latitude */
    private Double latitude;

    /** 经度 OpenFarmVo.longitude */
    private Double longitude;

    /** 详细地址 OpenFarmVo.address */
    private String detailAddress;

    /** 负责人 OpenFarmVo.person */
    private String personInCharge;

    /** 联系电话 OpenFarmVo.contactPhone */
    private String contactPhone;

    /** 区县 OpenFarmVo.county */
    private String county;

    /** 乡镇 OpenFarmVo.town */
    private String town;

    /** 占地面积 OpenFarmVo.floorArea */
    private String floorArea;

    /** 养殖规模 OpenFarmVo.scaleBreeding */
    private String scaleBreeding;

    /** 养殖品种 OpenFarmVo.breedSpecies */
    private String breedSpecies;

    /** 数据来源，如 third_party */
    private String dataSource;

    /** 最近同步时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastSyncTime;

    /** 删除标志：0=存在，2=逻辑删除 */
    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 getPastureName()
    {
        return pastureName;
    }

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

    public String getFarmType()
    {
        return farmType;
    }

    public void setFarmType(String farmType)
    {
        this.farmType = farmType;
    }

    public String getIntroduction()
    {
        return introduction;
    }

    public void setIntroduction(String introduction)
    {
        this.introduction = introduction;
    }

    public Double getLatitude()
    {
        return latitude;
    }

    public void setLatitude(Double latitude)
    {
        this.latitude = latitude;
    }

    public Double getLongitude()
    {
        return longitude;
    }

    public void setLongitude(Double longitude)
    {
        this.longitude = longitude;
    }

    public String getDetailAddress()
    {
        return detailAddress;
    }

    public void setDetailAddress(String detailAddress)
    {
        this.detailAddress = detailAddress;
    }

    public String getPersonInCharge()
    {
        return personInCharge;
    }

    public void setPersonInCharge(String personInCharge)
    {
        this.personInCharge = personInCharge;
    }

    public String getContactPhone()
    {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone)
    {
        this.contactPhone = contactPhone;
    }

    public String getCounty()
    {
        return county;
    }

    public void setCounty(String county)
    {
        this.county = county;
    }

    public String getTown()
    {
        return town;
    }

    public void setTown(String town)
    {
        this.town = town;
    }

    public String getFloorArea()
    {
        return floorArea;
    }

    public void setFloorArea(String floorArea)
    {
        this.floorArea = floorArea;
    }

    public String getScaleBreeding()
    {
        return scaleBreeding;
    }

    public void setScaleBreeding(String scaleBreeding)
    {
        this.scaleBreeding = scaleBreeding;
    }

    public String getBreedSpecies()
    {
        return breedSpecies;
    }

    public void setBreedSpecies(String breedSpecies)
    {
        this.breedSpecies = breedSpecies;
    }

    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;
    }

    public String getKeyword()
    {
        return keyword;
    }

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