package com.njzscloud.supervisory.device.pojo.result;

import com.njzscloud.supervisory.device.contant.LocalizerCategory;
import com.njzscloud.supervisory.device.pojo.entity.LocalizerConfig;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 定位器
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class SearchDeviceLocalizerResult {

    /**
     * Id
     */
    private Long id;

    /**
     * 设备号
     */
    private String terminalId;
    /**
     * 车牌
     */
    private String licensePlate;
    /**
     * 定位器类型
     */
    private LocalizerCategory localizerCategory;

    /**
     * 是否在线; 0-->否、1-->是
     */
    private Boolean online;

    /**
     * 上次更新时间
     */
    private LocalDateTime lastTime;

    private LocalizerConfig config;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime modifyTime;

}
