state length = 16
This commit is contained in:
parent
cc175e5fcc
commit
feb5a1f46b
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue