Newer
Older
newfiber-termite / newfiber-termites / newfiber-termites-dataup / src / main / java / com / newfiber / termite / domain / request / deviceInfo / DeviceInfoImportRequest.java
@xiongkai xiongkai on 2 Jul 1 KB 集成mq
package com.newfiber.termite.domain.request.deviceInfo;

import com.newfiber.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 设备信息对象 ter_device_info
 *
 * @author X.K
 * @date 2024-05-27
 */
@Data
public class DeviceInfoImportRequest {

    /**
     * 设备编号
     */
    @Excel(name = "站点编号(SN)")
    @ApiModelProperty(value = "设备编号")
    private String sn;

    /**
     * 设备地址
     */
    @Excel(name = "站点名称")
    @ApiModelProperty(value = "设备地址")
    private String location;

    /**
     * 经纬度
     */
    @Excel(name = "经度")
    @ApiModelProperty(value = "经度")
    private String lonand;

    /**
     * 经纬度
     */
    @Excel(name = "纬度")
    @ApiModelProperty(value = "纬度")
    private String lat;

    /**
     * 经纬度
     */
    @Excel(name = "经度")
    @ApiModelProperty(value = "经纬度")
    private String lonandlat;

    public String getLonandlat() {
        return lonand + "," + lat;
    }
}