/*
|
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
|
*
|
* Redistribution and use in source and binary forms, with or without
|
* modification, are permitted provided that the following conditions are met:
|
*
|
* Redistributions of source code must retain the above copyright notice,
|
* this list of conditions and the following disclaimer.
|
* Redistributions in binary form must reproduce the above copyright
|
* notice, this list of conditions and the following disclaimer in the
|
* documentation and/or other materials provided with the distribution.
|
* Neither the name of the dreamlu.net developer nor the names of its
|
* contributors may be used to endorse or promote products derived from
|
* this software without specific prior written permission.
|
* Author: Chill 庄骞 (smallchill@163.com)
|
*/
|
package org.sxkj.fw.area.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import org.springblade.core.mp.base.BaseEntity;
|
|
import java.math.BigDecimal;
|
|
/**
|
* 防区管理表 实体类
|
*
|
* @author lw
|
* @since 2026-01-08
|
*/
|
@Data
|
@TableName("ja_fw_defense_zone")
|
@ApiModel(value = "FwDefenseZone对象", description = "防区管理表")
|
@EqualsAndHashCode(callSuper = true)
|
public class FwDefenseZoneEntity extends BaseEntity {
|
|
/**
|
* 防区名称
|
*/
|
@TableField("zone_name")
|
@ApiModelProperty(value = "防区名称")
|
private String zoneName;
|
/**
|
* 防区面积(km²)
|
*/
|
@TableField("zone_area")
|
@ApiModelProperty(value = "防区面积(km²)")
|
private BigDecimal zoneArea;
|
/**
|
* 关联场景ID,逗号分隔
|
*/
|
@TableField("defense_scene_ids")
|
@ApiModelProperty(value = "关联场景ID,逗号分隔")
|
private String defenseSceneIds;
|
/**
|
* 关联区域ID,逗号分隔
|
*/
|
@TableField("area_divide_ids")
|
@ApiModelProperty(value = "关联区域ID,逗号分隔")
|
private String areaDivideIds;
|
/**
|
* 关联设备ID,逗号分隔
|
*/
|
@TableField("device_ids")
|
@ApiModelProperty(value = "关联设备ID,逗号分隔")
|
private String deviceIds;
|
/**
|
* 经纬度面(存储地理面数据)
|
*/
|
@TableField("geom")
|
@ApiModelProperty(value = "经纬度面(存储地理面数据)")
|
private String geom;
|
/**
|
* 区域编码
|
*/
|
@TableField("area_code")
|
@ApiModelProperty(value = "区域编码")
|
private String areaCode;
|
|
}
|