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

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 第三方开放接口「查询养殖场列表」单条记录 DTO。
 * <p>
 * 对应 OpenAPI Schema {@code OpenFarmVo}，响应路径：
 * {@code data.records[]}（分页包装为 {@code OpenApiPageResultOpenFarmVo}）。
 * </p>
 * <p>
 * 接口：{@code GET /open-api/v1/farming/farms}，鉴权请求头 {@code X-App-Key}、{@code X-App-Secret}。
 * </p>
 *
 * @see com.ruoyi.web.modules.industryservice.domain.BizPasture
 */
public class OpenFarmDto
{
    /** 养殖场编号，OpenAPI type=integer format=int64，落库为 biz_pasture.external_id */
    private Long id;

    /** 养殖场名称，OpenAPI type=string，落库 pasture_name */
    private String farmName;

    /** 养殖场类型，OpenAPI type=string（示例 "1"），落库 farm_type */
    private String farmType;

    /** 简介，OpenAPI type=string，落库 introduction */
    private String introduction;

    /** 纬度，OpenAPI type=number，落库 latitude（double） */
    private Double latitude;

    /** 经度，OpenAPI type=number，落库 longitude（double） */
    private Double longitude;

    /** 地址，OpenAPI type=string，落库 detail_address */
    private String address;

    /** 负责人，OpenAPI type=string，落库 person_in_charge */
    private String person;

    /** 联系电话，OpenAPI type=string，落库 contact_phone */
    private String contactPhone;

    /** 县/区县，OpenAPI type=string，落库 county */
    private String county;

    /** 镇/乡镇，OpenAPI type=string，落库 town */
    private String town;

    /** 占地面积（文本），OpenAPI type=string，落库 floor_area */
    private String floorArea;

    /** 养殖规模（文本），OpenAPI type=string，落库 scale_breeding */
    private String scaleBreeding;

    /** 养殖种类（文本），OpenAPI type=string，落库 breed_species */
    private String breedSpecies;

    /** 创建时间，OpenAPI type=string，格式 yyyy-MM-dd HH:mm:ss，落库 create_time */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String createTime;

    /** 备注，OpenAPI type=string，落库 remark */
    private String remarks;

    public Long getId()
    {
        return id;
    }

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

    public String getFarmName()
    {
        return farmName;
    }

    public void setFarmName(String farmName)
    {
        this.farmName = farmName;
    }

    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 getAddress()
    {
        return address;
    }

    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getPerson()
    {
        return person;
    }

    public void setPerson(String person)
    {
        this.person = person;
    }

    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 getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(String createTime)
    {
        this.createTime = createTime;
    }

    public String getRemarks()
    {
        return remarks;
    }

    public void setRemarks(String remarks)
    {
        this.remarks = remarks;
    }
}
