|
@@ -1,28 +1,22 @@
|
|
package cc.iotkit.manager.dto.vo.thingmodel;
|
|
package cc.iotkit.manager.dto.vo.thingmodel;
|
|
|
|
|
|
import cc.iotkit.model.product.ThingModel;
|
|
import cc.iotkit.model.product.ThingModel;
|
|
|
|
+import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
|
|
|
+import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
|
+import io.github.linpeilie.annotations.AutoMapper;
|
|
import io.github.linpeilie.annotations.AutoMapping;
|
|
import io.github.linpeilie.annotations.AutoMapping;
|
|
import io.github.linpeilie.annotations.ReverseAutoMapping;
|
|
import io.github.linpeilie.annotations.ReverseAutoMapping;
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
-import lombok.ToString;
|
|
|
|
|
|
|
|
-import java.util.Date;
|
|
|
|
import java.io.Serializable;
|
|
import java.io.Serializable;
|
|
-import java.math.BigDecimal;
|
|
|
|
-
|
|
|
|
-import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
-import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
|
|
|
-import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
|
-import io.github.linpeilie.annotations.AutoMapper;
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModel(value = "ThingModelVo")
|
|
@ApiModel(value = "ThingModelVo")
|
|
@Data
|
|
@Data
|
|
@ExcelIgnoreUnannotated
|
|
@ExcelIgnoreUnannotated
|
|
@AutoMapper(target = ThingModel.class)
|
|
@AutoMapper(target = ThingModel.class)
|
|
-
|
|
|
|
public class ThingModelVo implements Serializable {
|
|
public class ThingModelVo implements Serializable {
|
|
|
|
|
|
private static final long serialVersionUID = -1L;
|
|
private static final long serialVersionUID = -1L;
|
|
@@ -35,7 +29,7 @@ public class ThingModelVo implements Serializable {
|
|
@ExcelProperty(value = "模型内容")
|
|
@ExcelProperty(value = "模型内容")
|
|
@AutoMapping(ignore = true)
|
|
@AutoMapping(ignore = true)
|
|
@ReverseAutoMapping(ignore = true)
|
|
@ReverseAutoMapping(ignore = true)
|
|
- private String model;
|
|
|
|
|
|
+ private ThingModel.Model model;
|
|
|
|
|
|
@ApiModelProperty(value = "产品key")
|
|
@ApiModelProperty(value = "产品key")
|
|
@ExcelProperty(value = "产品key")
|
|
@ExcelProperty(value = "产品key")
|