package com.usky.sas.service.dto.agbox;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

/**
 * AG 接口 getList 响应 - 地块列表
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class VillageListVO {

    private VillageListResult result;

    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class VillageListResult {
        private java.util.List<VillageListItem> villageList;
    }

    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class VillageListItem {
        private String villageCode;
        private String villageName;
        private String address;
        private Long provinceCode;
        private Long cityCode;
        private Long districtCode;
        private Long streetCode;
        private String roadCode;
        private String policeStationCode;
        private String companyCode;
        private String companyName;
        private String picUrlId;
        private String gisId;
        private String gisAreaId;
        private String areaGis;
        private Boolean isDefault;
    }
}
