Lius
2025-01-02 2152f2f0138730c76df82ff947e5aa27e6a2abff
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
package org.jeecg.modules.mdc.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.system.base.entity.JeecgEntity;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.io.Serializable;
import java.util.Date;
import java.util.Set;
 
/**
 * @Description: 设备运行时段状态表
 * @Author: jeecg-boot
 * @Date: 2023-04-13
 * @Version: V1.0
 */
@Data
@TableName("mdc_equipment_running_section")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "mdc_equipment_running_section对象", description = "设备运行时段状态表")
public class MdcEquipmentRunningSection extends JeecgEntity implements Serializable {
 
    /**
     * 设备编号
     */
    @Excel(name = "设备编号", width = 15)
    @ApiModelProperty(value = "设备编号")
    private String equipmentId;
    /**
     * 报警号
     */
    @Excel(name = "报警号", width = 15)
    @ApiModelProperty(value = "报警号")
    private String alarm;
    /**
     * 时长
     */
    @Excel(name = "时长", width = 15)
    @ApiModelProperty(value = "时长")
    private Long duration;
    /**
     * 状态,0:关机,1:开机,2:待机,3:工作,22:报警
     */
    @Excel(name = "状态,0:关机,1:开机,2:待机,3:工作,22:报警", width = 15)
    @ApiModelProperty(value = "状态,0:关机,1:开机,2:待机,3:工作,22:报警")
    private Integer status;
    /**
     * 程序号
     */
    @Excel(name = "程序号", width = 15)
    @ApiModelProperty(value = "程序号")
    private String sequenceNumber;
    /**
     * beltLine
     */
    @Excel(name = "beltLine", width = 15)
    @ApiModelProperty(value = "beltLine")
    private String beltLine;
    /**
     * 开始时间
     */
    @Excel(name = "开始时间", width = 20, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始时间")
    private Date startTime;
    /**
     * 结束时间
     */
    @Excel(name = "结束时间", width = 20, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;
    /**
     * 开始时间戳
     */
    @Excel(name = "开始时间戳", width = 15)
    @ApiModelProperty(value = "开始时间戳")
    private Long startLong;
    /**
     * 结束时间戳
     */
    @Excel(name = "结束时间戳", width = 15)
    @ApiModelProperty(value = "结束时间戳")
    private Long endLong;
 
    /**
     * 关联报警信息
     */
    @TableField(exist = false)
    private Set<TmpEquipmentAlarm> tmpEquipmentAlarmSet;
 
}