-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from little3201/develop
优化TreeNode;Excel类型转换
- Loading branch information
Showing
11 changed files
with
203 additions
and
91 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Copyright (c) 2021. Leafage All Right Reserved. | ||
*/ | ||
package top.leafage.common.basic; | ||
|
||
import java.time.LocalDateTime; | ||
|
||
/** | ||
* Abstract vo | ||
* | ||
* @author liwenqiang 2020-10-06 22:09 | ||
* @since 0.1.6 | ||
*/ | ||
public abstract class AbstractVO<C> { | ||
|
||
/** | ||
* 代码 | ||
*/ | ||
private C code; | ||
|
||
/** | ||
* 修改时间 | ||
*/ | ||
private LocalDateTime modifyTime; | ||
|
||
public C getCode() { | ||
return code; | ||
} | ||
|
||
public void setCode(C code) { | ||
this.code = code; | ||
} | ||
|
||
public LocalDateTime getModifyTime() { | ||
return modifyTime; | ||
} | ||
|
||
public void setModifyTime(LocalDateTime modifyTime) { | ||
this.modifyTime = modifyTime; | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
package top.leafage.common.basic; | ||
|
||
import java.io.Serializable; | ||
|
||
/** | ||
* 参数校验信息 | ||
* | ||
* @author liwenqiang 2022/4/13 17:13 | ||
* @since 0.1.8 | ||
**/ | ||
public class ValidMessage implements Serializable { | ||
|
||
private static final long serialVersionUID = 3385684846039604779L; | ||
|
||
/** | ||
* code | ||
*/ | ||
private static final String CODE = "code"; | ||
|
||
/** | ||
* name | ||
*/ | ||
private static final String NAME = "name"; | ||
|
||
/** | ||
* username | ||
*/ | ||
private static final String USERNAME = "username"; | ||
|
||
/** | ||
* not blank | ||
*/ | ||
private static final String NOT_BLANK = " must not be blank."; | ||
|
||
/** | ||
* non null | ||
*/ | ||
private static final String NON_NULL = " must not be null."; | ||
|
||
/** | ||
* code must not be blank | ||
*/ | ||
public static final String CODE_NOT_BLANK = CODE + NOT_BLANK; | ||
|
||
/** | ||
* code must not be null | ||
*/ | ||
public static final String CODE_NOT_NULL = CODE + NON_NULL; | ||
|
||
/** | ||
* name must not be blank | ||
*/ | ||
public static final String NAME_NOT_BLANK = NAME + NOT_BLANK; | ||
|
||
/** | ||
* username must not be blank | ||
*/ | ||
public static final String USERNAME_NOT_BLANK = USERNAME + NOT_BLANK; | ||
} |
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
Oops, something went wrong.