update:update ota

V0.5.x
荭琪枫 2023-06-28 10:40:37 +08:00
parent 45641f495c
commit 31a3a2a793
4 changed files with 6 additions and 5 deletions

View File

@ -20,4 +20,4 @@
"icon": "http://www.baidu.com",
"createAt": 1683816661690
}
]
]

View File

@ -1,6 +1,7 @@
package cc.iotkit.manager.dto.bo.ota;
import cc.iotkit.common.api.BaseDto;
import cc.iotkit.model.ota.DeviceOtaInfo;
import io.github.linpeilie.annotations.AutoMapper;
import io.swagger.annotations.ApiModel;
import lombok.Data;
@ -14,7 +15,7 @@ import lombok.EqualsAndHashCode;
@Data
@ApiModel(value = "DeviceOtaInfoBo")
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = DeviceOtaInfoBo.class, reverseConvertGenerate = false)
@AutoMapper(target = DeviceOtaInfo.class, reverseConvertGenerate = false)
public class DeviceOtaInfoBo extends BaseDto {
private String taskId;

View File

@ -16,7 +16,6 @@ import java.util.List;
@ApiModel(value = "DeviceUpgradeBo")
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = DeviceUpgradeBo.class, reverseConvertGenerate = false)
public class DeviceUpgradeBo extends BaseDto {
private static final long serialVersionUID = -1L;
private List<String> deviceIds;

View File

@ -1,6 +1,7 @@
package cc.iotkit.manager.dto.bo.ota;
import cc.iotkit.common.api.BaseDto;
import cc.iotkit.model.ota.OtaPackage;
import io.github.linpeilie.annotations.AutoMapper;
import io.swagger.annotations.ApiModel;
import lombok.Data;
@ -14,7 +15,7 @@ import lombok.EqualsAndHashCode;
@ApiModel(value = "OtaPackageBo")
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = OtaPackageBo.class, reverseConvertGenerate = false)
@AutoMapper(target = OtaPackage.class, reverseConvertGenerate = false)
public class OtaPackageBo extends BaseDto {
/**
@ -70,5 +71,5 @@ public class OtaPackageBo extends BaseDto {
/**
*
*/
private String extData;
}