All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.diboot.devtools.v2.OO00OOO00O0O00OO Maven / Gradle / Ivy

The newest version!
/**
 * Copyright (c) dibo.ltd, https://www.dibo.ltd, https://www.diboot.com
 * 

* ---- 版权声明 ---- * Diboot相关商标、软件著作权、专利等全部知识产权隶属于苏州帝博信息技术有限公司。 * Diboot devtools 非开源项目,如您有devtools相关定制化需求,请至官网(https://www.dibo.ltd)联系帝博信息商务。 * * 《中华人民共和国刑法》规定:破坏计算机信息系统罪,处五年以下有期徒刑或者拘役;后果特别严重的,处五年以上有期徒刑。 * 侵犯知识产权罪:处三年以下有期徒刑、拘役或管制,并处罚金;情节特别严重的,处三年以上七年以下有期徒刑,并处罚金。 * * 任何尝试破解、破坏devtools、侵犯diboot知识产权的行为,我们将不惜一切代价追究到底! *

*/ package com.diboot.devtools.v2; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.diboot.core.entity.BaseEntity; import com.diboot.core.util.JSON; import com.diboot.core.util.V; import lombok.Getter; import lombok.Setter; import lombok.experimental.Accessors; import java.util.HashMap; import java.util.Map; @Getter @Setter @Accessors(chain = true) @TableName("diboot_table_ext") @Deprecated() public class OO00OOO00O0O00OO extends BaseEntity { private static final long serialVersionUID = 1001100001101011100L; private String tableName; @TableField(exist = false) private String oldTableName; private String objName; private String idType; private String module; private String className; private String extensions; @Deprecated() public boolean getTreeStruct() { if (V.isEmpty(extensions)) { return false; } Map extensionMap = JSON.parseObject(extensions, Map.class); Object treeStruct = extensionMap.get(OOO0OO00O00O00OO.l11llll1ll11ll1("dHJlZVN0cnVjdA==")); if (treeStruct == null) { return false; } else { return Boolean.valueOf(String.valueOf(treeStruct)); } } @Deprecated() public void setTreeStruct(boolean hasTree) { Map extensionMap = null; if (V.isEmpty(extensions)) { extensionMap = new HashMap(); } else { extensionMap = JSON.parseObject(extensions, Map.class); } extensionMap.put(OOO0OO00O00O00OO.l11llll1ll11ll1("dHJlZVN0cnVjdA=="), hasTree); this.extensions = JSON.stringify(extensionMap); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy