feat(form):表单导入功能支持

yun-zuoyi
汪云昊 5 years ago
parent 3af9790a9e
commit fdec58c92a

@ -79,6 +79,10 @@ public class BfDataObjectProperty extends BaseBean {
@ApiParam(value ="是否主键")
private Integer isPrimaryKey;
public boolean isPrimaryKey(){
return isPrimaryKey != null && CommonEnumUtil.TRUE_OR_FALSE.valueOfBoolean(isPrimaryKey);
}
@Column(name="IS_NULLABLE")
@ApiParam(value = "是否允许为空")
private Integer isNullable;

@ -0,0 +1,31 @@
package cn.estsh.i3plus.pojo.model.form;
import cn.estsh.i3plus.pojo.base.dynamic.DynamicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* @Description :
* @Reference :
* @Author : yunhao
* @CreateDate : 2020-11-17 16:32
* @Modify:
**/
@Data
@ApiModel("检查唯一返回结果model")
public class BfCheckOnlyResultModel {
@ApiModelProperty("是否唯一")
private boolean isOnly;
@ApiModelProperty("重复的数据")
private DynamicEntity repeatData;
@ApiModelProperty("异常信息")
private Exception exception;
public BfCheckOnlyResultModel() {
this.isOnly = true;
}
}
Loading…
Cancel
Save