/*
|
* 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.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* 防区管理表 视图实体类
|
*
|
* @author lw
|
* @since 2026-01-08
|
*/
|
@Data
|
public class FwDefenseZoneVO {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键id
|
*/
|
@ApiModelProperty(value = "主键id")
|
private Long id;
|
/**
|
* 防区名称
|
*/
|
@ApiModelProperty(value = "防区名称")
|
private String zoneName;
|
/**
|
* 防区面积(km²)
|
*/
|
@ApiModelProperty(value = "防区面积(km²)")
|
private BigDecimal zoneArea;
|
/**
|
* 关联场景ID,逗号分隔
|
*/
|
@ApiModelProperty(value = "关联场景ID,逗号分隔")
|
private String defenseSceneIds;
|
/**
|
* 关联区域ID,逗号分隔
|
*/
|
@ApiModelProperty(value = "关联区域ID,逗号分隔")
|
private String areaDivideIds;
|
/**
|
* 关联设备ID,逗号分隔
|
*/
|
@ApiModelProperty(value = "关联设备ID,逗号分隔")
|
private String deviceIds;
|
/**
|
* 经纬度面(存储地理面数据)
|
*/
|
@ApiModelProperty(value = "经纬度面(存储地理面数据)")
|
private String geom;
|
/**
|
* 区域编码
|
*/
|
@ApiModelProperty(value = "区域编码")
|
private String areaCode;
|
/**
|
* 创建人
|
*/
|
@ApiModelProperty(value = "创建人")
|
private Long createUser;
|
/**
|
* 创建部门
|
*/
|
@ApiModelProperty(value = "创建部门")
|
private Long createDept;
|
/**
|
* 创建时间
|
*/
|
@ApiModelProperty(value = "创建时间")
|
private Date createTime;
|
|
// VO 扩展字段
|
@ApiModelProperty(value = "场景数量")
|
private Integer sceneCount;
|
|
@ApiModelProperty(value = "设备数量")
|
private Integer deviceCount;
|
|
@ApiModelProperty(value = "区域数量")
|
private Integer areaCount;
|
}
|