/* * 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.springblade.fire.entity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import org.springblade.core.tenant.mp.TenantEntity; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; /** * 火灾补充表 实体类 * * @author BladeX * @since 2023-03-04 */ @Data @TableName(value = "sys_fire_supplement",autoResultMap = true) @ApiModel(value = "FireSupplement对象", description = "火灾补充表") @EqualsAndHashCode(callSuper = true) public class FireSupplementEntity extends TenantEntity { /** * 火灾表主键 */ @ApiModelProperty(value = "火灾表主键") private String fireId; /** * 火灾原因 */ @ApiModelProperty(value = "火灾原因") private String fireReason; /** * 起火树种 */ @ApiModelProperty(value = "起火树种") private String treeSpecies; /** * 灭火时间 */ @ApiModelProperty(value = "灭火时间") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date extinguishingTime; /** * 肇事者 */ @ApiModelProperty(value = "肇事者") private String perpetrator; /** * 处理人数 */ @ApiModelProperty(value = "处理人数") private Integer sumPerson; /** * 刑事处罚人数 */ @ApiModelProperty(value = "刑事处罚人数") private Integer punishPerson; /** * 处理情况 */ @ApiModelProperty(value = "处理情况") private String situation; /** * 轻伤人数 */ @ApiModelProperty(value = "轻伤人数") private Integer minorInjuryPerson; /** * 重伤人数 */ @ApiModelProperty(value = "重伤人数") private Integer seriousInjuryPerson; /** * 死亡人数 */ @ApiModelProperty(value = "死亡人数") private Integer deathPerson; /** * 经济损失 */ @ApiModelProperty(value = "经济损失") @TableField(value = "economic_loss",typeHandler = FastjsonTypeHandler.class) private Object economicLoss; /** * 受灾面积 */ @ApiModelProperty(value = "受灾面积") @TableField(value = "damage_area",typeHandler = FastjsonTypeHandler.class) private Object damageArea; /** * 出动警力 */ @ApiModelProperty(value = "出动警力") @TableField(value = "police_resources",typeHandler = FastjsonTypeHandler.class) private Object policeResources; }