package com.multictrl.modules.business.q20.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * Q20航线任务 - 围栏条目DTO
 *
 * @author 938693313@qq.com
 * @since 1.0.0 2026/5/20
 */
@Data
@Schema(description = "围栏条目信息")
public class Q20GeofenceItemDTO {

    @Schema(description = "围栏类型：polygon=多边形围栏，circle=圆形围栏")
    @JsonProperty("geofence_type")
    private String geofenceType;

    @Schema(description = "围栏方向：0=围栏内，1=围栏外")
    private int inclusion;

    @Schema(description = "多边形围栏顶点经纬度列表，每项格式：\"经度,纬度\"")
    @JsonProperty("vertex_coordinates")
    private List<String> vertexCoordinates;

    @Schema(description = "圆形围栏半径(m)")
    @JsonProperty("circle_radius")
    private Integer circleRadius;

    @Schema(description = "圆形围栏中心坐标，格式：\"经度,纬度\"")
    @JsonProperty("circle_coordinate")
    private String circleCoordinate;
}
