diff --git a/hzims-service-api/alarm-api/src/main/java/com/hnac/hzims/alarm/vo/FdpAlarmVo.java b/hzims-service-api/alarm-api/src/main/java/com/hnac/hzims/alarm/vo/FdpAlarmVo.java new file mode 100644 index 0000000..0ce2cf0 --- /dev/null +++ b/hzims-service-api/alarm-api/src/main/java/com/hnac/hzims/alarm/vo/FdpAlarmVo.java @@ -0,0 +1,57 @@ +package com.hnac.hzims.alarm.vo; + +import io.swagger.annotations.ApiModel; +import lombok.Data; + +import java.util.Date; + + +/** + * @author ty + */ +@Data +@ApiModel(value = "fdp智能预警对象", description = "fdp智能预警对象") +public class FdpAlarmVo { + + private static final long serialVersionUID = 1L; + /** + * 故障ID + */ + private String faultId; + /** + * 故障站点 + */ + private String station; + /** + * 故障名称 + */ + private String name; + /** + * 位置 + */ + private String ord; + /** + * 故障状态 + */ + private Float status; + /** + * 故障的附属信息 + */ + private String info; + /** + * 报警类型 + */ + private String ftype; + /** + * 报警内容 + */ + private String finfo; + /** + * 报警内容 + */ + private Object[] children; + /** + * 报警内容 + */ + private Date createTime; +} \ No newline at end of file diff --git a/hzims-service-api/alarm-api/src/main/java/com/hnac/hzims/alarm/entity/SystemAlarmEntity.java b/hzims-service-api/alarm-api/src/main/java/com/hnac/hzims/alarm/vo/SystemAlarmVo.java similarity index 83% rename from hzims-service-api/alarm-api/src/main/java/com/hnac/hzims/alarm/entity/SystemAlarmEntity.java rename to hzims-service-api/alarm-api/src/main/java/com/hnac/hzims/alarm/vo/SystemAlarmVo.java index a10b125..35575ca 100644 --- a/hzims-service-api/alarm-api/src/main/java/com/hnac/hzims/alarm/entity/SystemAlarmEntity.java +++ b/hzims-service-api/alarm-api/src/main/java/com/hnac/hzims/alarm/vo/SystemAlarmVo.java @@ -1,8 +1,7 @@ -package com.hnac.hzims.alarm.entity; +package com.hnac.hzims.alarm.vo; import io.swagger.annotations.ApiModel; import lombok.Data; -import org.springblade.core.tenant.mp.TenantEntity; /** @@ -10,7 +9,7 @@ import org.springblade.core.tenant.mp.TenantEntity; */ @Data @ApiModel(value = "华自3000告警对象", description = "华自3000告警对象") -public class SystemAlarmEntity extends TenantEntity { +public class SystemAlarmVo { private static final long serialVersionUID = 1L;