林火综合应急信息管理系统cloud后端
guoshilong
2023-03-13 d4bb9224e835cf0221be254d349efb3d4aaab68b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
/*
 *      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;
 
}