108 lines
3.0 KiB
Java
108 lines
3.0 KiB
Java
package com.ruoyi.rocketmq.domain;
|
||
|
||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||
import com.ruoyi.common.core.annotation.Excel;
|
||
import com.ruoyi.common.core.web.domain.BaseEntity;
|
||
import lombok.Data;
|
||
|
||
import java.util.Date;
|
||
import java.util.List;
|
||
|
||
/**
|
||
* 服务器脚本策略对象 rm_deployment_policy
|
||
*
|
||
* @author gyt
|
||
* @date 2025-09-15
|
||
*/
|
||
@Data
|
||
public class RmDeploymentPolicy extends BaseEntity
|
||
{
|
||
private static final long serialVersionUID = 1L;
|
||
|
||
/** 策略ID */
|
||
private Long id;
|
||
|
||
/** 策略名称 */
|
||
@Excel(name = "策略名称")
|
||
private String policyName;
|
||
|
||
/** 策略描述 */
|
||
@Excel(name = "策略描述")
|
||
private String description;
|
||
|
||
/** 关联资源组ID */
|
||
@Excel(name = "关联资源组ID")
|
||
private Long resourceGroupId;
|
||
|
||
/** 包含的设备ID列表(逗号分隔) */
|
||
private String includedDevicesId;
|
||
/** 包含设备 */
|
||
@Excel(name = "包含设备")
|
||
private String includedDevicesName;
|
||
|
||
/** 源文件地址格式 */
|
||
@Excel(name = "源文件地址格式")
|
||
private String sourceFilePathType;
|
||
/** 源文件路径 */
|
||
@Excel(name = "源文件路径")
|
||
private String sourceFilePath;
|
||
|
||
/** 目标目录 */
|
||
@Excel(name = "目标目录")
|
||
private String targetDirectory;
|
||
|
||
/** 命令执行内容 */
|
||
@Excel(name = "命令执行内容")
|
||
private String commandContent;
|
||
|
||
/** 0=立即执行,1=定时执行 */
|
||
@Excel(name = "执行方式", readConverterExp = "0=立即执行,1=定时执行")
|
||
private Integer executionMethod;
|
||
|
||
/** 定时执行时间 */
|
||
@Excel(name = "定时执行时间")
|
||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||
private Date scheduledTime;
|
||
/** 定时执行时间(时间戳秒) */
|
||
private Long policyTime;
|
||
|
||
/** 策略状态:0-未下发,1-已下发 */
|
||
@Excel(name = "策略状态:0-未下发,1-已下发")
|
||
private String policyStatus;
|
||
|
||
/** 策略下发时间 */
|
||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||
@Excel(name = "策略下发时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||
private Date deployTime;
|
||
|
||
/** 脚本类型 */
|
||
@Excel(name = "脚本类型")
|
||
private String scriptType;
|
||
/** 资源组名称 */
|
||
private String resourceGroupName;
|
||
/** 资源组置空 */
|
||
private Boolean resourceGroupIdNull;
|
||
/** 部署设备 */
|
||
private String deployDevice;
|
||
/** 业务脚本名称 */
|
||
private String scriptName;
|
||
/** 业务脚本文件地址 */
|
||
private String scriptPath;
|
||
/** 业务脚本参数 */
|
||
private String defaultParams;
|
||
/** 业务下发名称 */
|
||
private String taskName;
|
||
/** 不在线数量 */
|
||
private Integer offlineNum;
|
||
/** 执行成功数量 */
|
||
private Integer sucessNum;
|
||
/** 执行失败数量 */
|
||
private Integer failNum;
|
||
/** 不在线服务器clientId集合 */
|
||
private List<String> offlineClientIds;
|
||
/** 执行成功clientId集合 */
|
||
private List<String> sucessClientIds;
|
||
/** 执行失败clientIdji和 */
|
||
private List<String> failClientIds;
|
||
}
|