package com.njzscloud.supervisory.geo.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 地图栅栏配置
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName(value = "geo_fence_config", autoResultMap = true)
public class GeoFenceConfigEntity {

    /**
     * Id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 地图配置
     */
    @TableField(typeHandler = JacksonTypeHandler.class)
    private Object config;

}
