diff --git a/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfDataObjectProperty.java b/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfDataObjectProperty.java index 54b9201..6ea46e8 100644 --- a/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfDataObjectProperty.java +++ b/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfDataObjectProperty.java @@ -120,6 +120,10 @@ public class BfDataObjectProperty extends BaseBean { private transient Integer isDeleteWeaklyProperty; @Transient + @ApiParam(value ="是否为唯一约束字段") + private transient Integer isUniqueProperty; + + @Transient @ApiParam(value ="元素值") private transient Object propertyFormValue; diff --git a/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfElementConstraint.java b/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfElementConstraint.java index 3afd628..7a6ee13 100644 --- a/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfElementConstraint.java +++ b/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfElementConstraint.java @@ -14,6 +14,7 @@ import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Column; import javax.persistence.Entity; +import javax.persistence.Lob; import javax.persistence.Table; /** @@ -47,9 +48,10 @@ public class BfElementConstraint extends BaseBean { private Integer constraintType; @Column(name = "CONSTRAIN_PROPERTY_NAME_RDD") - @ApiParam(value = "约束属性") + @ApiParam(value = "约束属性名称") private String constrainPropertyNameRdd; + @Lob @Column(name = "CONSTRAIN_PROPERTY_IDS") @ApiParam(value = "约束属性ids") private String constrainPropertyIds; diff --git a/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfElementProperty.java b/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfElementProperty.java index 0ca9d53..569c3ed 100644 --- a/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfElementProperty.java +++ b/modules/i3plus-pojo-form/src/main/java/cn/estsh/i3plus/pojo/form/bean/BfElementProperty.java @@ -144,6 +144,11 @@ public class BfElementProperty extends BaseBean { @AnnoOutputColumn(hidden = true) private BfDataObjectProperty objectProperty; + @Transient + @ApiParam(value ="是否为唯一约束字段") + private transient Integer isUniqueProperty; + + // public Object getFormValue() { // return propertyFormValue == null ? propertyDefaultValue : propertyFormValue; // }