63 lines
1.4 KiB
Java
63 lines
1.4 KiB
Java
package net.educoder.bridge.common.model;
|
|
|
|
import lombok.Data;
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
/**
|
|
* windows实例信息
|
|
*/
|
|
@Data
|
|
public class WindowsInfo {
|
|
|
|
private Long id;
|
|
|
|
private String uniqId;
|
|
|
|
private String instanceId;
|
|
|
|
private String userID;
|
|
|
|
private String templateName;
|
|
|
|
private String port;
|
|
|
|
private String vncPort;
|
|
|
|
private String forwardTableId;
|
|
|
|
private String forwardEntryId;
|
|
|
|
private String vncForwardEntryId;
|
|
|
|
private LocalDateTime autoReleaseTime;
|
|
|
|
private LocalDateTime createTime;
|
|
|
|
private LocalDateTime updateTime;
|
|
|
|
private Integer status;
|
|
|
|
public WindowsInfo() {
|
|
}
|
|
|
|
public WindowsInfo(String uniqId, String instanceId, String userID, String templateName, String port, String vncPort,
|
|
LocalDateTime autoReleaseTime, String forwardTableId, String forwardEntryId, String vncForwardEntryId) {
|
|
this.uniqId = uniqId;
|
|
this.instanceId = instanceId;
|
|
this.userID = userID;
|
|
this.templateName = templateName;
|
|
this.port = port;
|
|
this.vncPort = vncPort;
|
|
this.autoReleaseTime = autoReleaseTime;
|
|
this.forwardTableId = forwardTableId;
|
|
this.forwardEntryId = forwardEntryId;
|
|
this.vncForwardEntryId = vncForwardEntryId;
|
|
this.createTime = LocalDateTime.now();
|
|
this.updateTime = LocalDateTime.now();
|
|
this.status = 0;
|
|
}
|
|
}
|
|
|
|
|