whyclxw
2024-12-10 cd1201686fb4d937265593bcb998fba249efd492
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
package com.whyc.pojo.db_param;
 
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 com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.ToString;
 
import java.util.Date;
 
@Data
@ApiModel(value = "processSurvey",description = "进程管理对象")
@TableName(schema = "db_param",value = "process_survey")
@ToString
@JsonIgnoreProperties(ignoreUnknown = true)
public class ProcessSurvey {
    @TableId(type = IdType.AUTO)
    private Integer num;//进程编号
    @TableField("processid")
    private Integer processId;//进程id
    @TableField("processName")
    private String  processName;//进程名
    @TableField("ProcessVersion")
    private String processVersion;//进程版本
    @TableField("ProcessTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Date processTime;//进程执行的时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Date  processStarttime;//进程的初始时间
    @TableField("ServerName")
    private String serverName;//服务名
    @TableField("ServerFlag")
    private Integer serverFlag;//服务名 0:停止 1:进行中 2:暂不开启
    @TableField("OutTime")
    private Integer outTime;//进程超时时间(秒)
    private String note;
}