|
|
@@ -3,10 +3,7 @@ package org.jetlinks.community.device.entity;
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.Data;
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
-import org.hswebframework.ezorm.rdb.mapping.annotation.ColumnType;
|
|
|
-import org.hswebframework.ezorm.rdb.mapping.annotation.Comment;
|
|
|
-import org.hswebframework.ezorm.rdb.mapping.annotation.DefaultValue;
|
|
|
-import org.hswebframework.ezorm.rdb.mapping.annotation.EnumCodec;
|
|
|
+import org.hswebframework.ezorm.rdb.mapping.annotation.*;
|
|
|
import org.hswebframework.web.api.crud.entity.GenericEntity;
|
|
|
import org.hswebframework.web.api.crud.entity.RecordCreationEntity;
|
|
|
import org.hswebframework.web.crud.generator.Generators;
|
|
|
@@ -84,8 +81,9 @@ public class DeviceFirmwareTaskEntity extends GenericEntity<String> implements R
|
|
|
|
|
|
|
|
|
@Column(name = "deploy_ids")
|
|
|
- @ColumnType(jdbcType = JDBCType.CLOB,javaType = List.class)
|
|
|
+ @ColumnType(jdbcType = JDBCType.VARCHAR)
|
|
|
@Schema(description = "部署设备id")
|
|
|
+ @JsonCodec
|
|
|
private List<String> deployIds;
|
|
|
|
|
|
@Comment("超时时间")
|