xuhy
2026-04-19 73242feacea752b9efb8f294d3f85da26bcfdb7d
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
package com.xiaopeng.api.model.operation;
 
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xiaopeng.common.core.web.domain.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.time.LocalDateTime;
 
/**
 * 点位现场情况上报
 */
@Data
public class XpPointSituationReport extends BaseModel {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 点位id
     */
    @ApiModelProperty("点位id")
    @TableField("point_id")
    private Long pointId;
    /**
     * 现场情况(1=正常,2=异常)
     */
    @ApiModelProperty("现场情况(1=正常,2=异常)")
    @TableField("field_situation")
    private String fieldSituation;
    /**
     * 现场照片JSON数组
     */
    @ApiModelProperty("现场照片JSON数组")
    @TableField("scene_photo")
    private String scenePhoto;
    /**
     * 现场情况说明
     */
    @ApiModelProperty("现场情况说明")
    @TableField("scene_description")
    private String sceneDescription;
    /**
     * 上报运维id
     */
    @TableField("operations_user_id")
    private Long operationsUserId;
    /**
     * 现场情况上报时间
     */
    @TableField("reporting_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime reportingTime;
}