fg电池监控平台的达梦数据库版本
whycxzp
2024-11-11 f6cec8970fa54813be5e7eebf641253b7a304606
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
package com.whyc.pojo;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.*;
import lombok.experimental.Accessors;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * <p>
 * 
 * </p>
 *
 * @author xuzhongpei
 * @since 2021-12-10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(schema ="db_pwrdev_alarm" ,value = "tb_pwrdev_time_out_alarm")
@ApiModel(value="PwrdevTimeOutAlarm对象", description="")
public class PwrdevTimeOutAlarm implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @TableId(value = "num", type = IdType.AUTO)
    private Long num;
 
    @TableField("PowerDeviceId")
    private Long PowerDeviceId;
 
    @TableField("alarm_typeId")
    private Integer alarmTypeid;
 
    private Integer alarmIndex;
 
    private Integer timeoutTag;
 
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date readDatetime;
 
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date systemDatetime;
 
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date resumeDatetime;
 
    //多表查询
    @TableField("alarm_name")
    private String alarmName;
 
    private String stationName;
 
 
}