state length = 16

This commit is contained in:
zhou-hao 2021-01-21 16:38:05 +08:00
parent cc175e5fcc
commit feb5a1f46b
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ public class DeviceInstanceEntity extends GenericEntity<String> implements Recor
@Schema(description = "派生物模型(预留)")
private String deriveMetadata;
@Column(name = "state")
@Column(name = "state",length = 16)
@EnumCodec
@ColumnType(javaType = String.class)
@DefaultValue("notActive")

View File

@ -67,7 +67,7 @@ public class RuleInstanceEntity extends GenericEntity<String> implements RecordC
@Schema(description = "创建者ID")
private String creatorId;
@Column(name = "state")
@Column(name = "state",length = 16)
@EnumCodec
@ColumnType(javaType = String.class)
@DefaultValue("stopped")