forked from WeBankBlockchain/WeIdentity
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* table extensions for default storage
* optimization the domain configure * support the timeout for data
- Loading branch information
1 parent
6027805
commit 4000fd8
Showing
21 changed files
with
544 additions
and
905 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 82 additions & 0 deletions
82
src/main/java/com/webank/weid/suite/persistence/sql/DefaultTable.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
/* | ||
* Copyright© (2018) WeBank Co., Ltd. | ||
* | ||
* This file is part of weid-java-sdk. | ||
* | ||
* weid-java-sdk is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Lesser General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* weid-java-sdk is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public License | ||
* along with weid-java-sdk. If not, see <https://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package com.webank.weid.suite.persistence.sql; | ||
|
||
import java.util.Date; | ||
|
||
import lombok.Data; | ||
|
||
@Data | ||
public class DefaultTable { | ||
|
||
/** | ||
* 主键. | ||
*/ | ||
private String id; | ||
|
||
/** | ||
* blob主体数据. | ||
*/ | ||
private String data; | ||
|
||
/** | ||
* 创建时间. | ||
*/ | ||
private Date created; | ||
/** | ||
* 更新时间. | ||
*/ | ||
private Date updated; | ||
|
||
/** | ||
* 编码格式. | ||
*/ | ||
private String protocol; | ||
|
||
/** | ||
* 超时时间. | ||
*/ | ||
private Date expire; | ||
|
||
/** | ||
* 数据所属版本. | ||
*/ | ||
private String version; | ||
|
||
/** | ||
* 扩展字段1. | ||
*/ | ||
private int ext1; | ||
|
||
/** | ||
* 扩展字段2. | ||
*/ | ||
private int ext2; | ||
|
||
/** | ||
* 扩展字段3. | ||
*/ | ||
private String ext3; | ||
|
||
/** | ||
* 扩展字段4. | ||
*/ | ||
private String ext4; | ||
} |
Oops, something went wrong.