package com.mosty.base.model.dto.wzzx;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author zhangzhao
 * @since 2024-12-17
 * 转换定位坐标系DTO
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "LocationConvertDTO 对象", description = "转换定位坐标系DTO")
public class LocationConvertDTO {

    @ApiModelProperty(value = "经度", name = "longitude")
    private Double longitude;

    @ApiModelProperty(value = "纬度", name = "latitude")
    private Double latitude;

    /**
     * 空构造
     */
    public LocationConvertDTO(){

    }

    /**
     * 参数构造
     * @param longitude 经度
     * @param latitude 纬度
     */
    public LocationConvertDTO(Double longitude, Double latitude){
        this.longitude = longitude;
        this.latitude = latitude;
    }

}
