| | |
| | | */ |
| | | package org.sxkj.fw.area.dto; |
| | | |
| | | import org.sxkj.fw.area.entity.FwDefenseZoneEntity; |
| | | import java.util.Date; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import org.sxkj.fw.area.entity.FwDefenseZoneEntity; |
| | | import java.math.BigDecimal; |
| | | import java.io.Serializable; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
| | | |
| | | /** |
| | | * 防区管理表 数据传输对象实体类 |
| | | * |
| | | * @author lw |
| | | * @since 2026-01-07 |
| | | * @since 2026-01-09 |
| | | */ |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = true) |
| | | public class FwDefenseZoneDTO extends FwDefenseZoneEntity { |
| | | public class FwDefenseZoneDTO implements Serializable { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @ApiModelProperty("主键id") |
| | | @JsonSerialize(using = ToStringSerializer.class) |
| | | private Long id; |
| | | /** |
| | | * 防区名称 |
| | | */ |
| | | @ApiModelProperty(value = "防区名称") |
| | | private String zoneName; |
| | | /** |
| | | * 防区面积(km2) |
| | | */ |
| | | @ApiModelProperty(value = "防区面积(km2)") |
| | | 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; |
| | | /** |
| | | * 更新人 |
| | | */ |
| | | @ApiModelProperty(value = "更新人") |
| | | private Long updateUser; |
| | | /** |
| | | * 更新时间 |
| | | */ |
| | | @ApiModelProperty(value = "更新时间") |
| | | private Date updateTime; |
| | | /** |
| | | * 状态(0正常 1停用) |
| | | */ |
| | | @ApiModelProperty(value = "状态(0正常 1停用)") |
| | | private Integer status; |
| | | /** |
| | | * 删除标志(0存在 1删除) |
| | | */ |
| | | @ApiModelProperty(value = "删除标志(0存在 1删除)") |
| | | private Integer isDeleted; |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |