-
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 #25 from little3201/develop
更新版本:0.1.9;
- Loading branch information
Showing
8 changed files
with
192 additions
and
71 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
package top.leafage.common.basic; | ||
|
||
/** | ||
* 基础VO类 | ||
* | ||
* @author liwenqiang 2022/7/23 10:04 | ||
* @since 0.1.9 | ||
**/ | ||
public class BasicVO<C> { | ||
|
||
|
||
/** | ||
* 代码 | ||
*/ | ||
private C code; | ||
|
||
/** | ||
* 名称 | ||
*/ | ||
private String name; | ||
|
||
/** | ||
* code getter | ||
* | ||
* @return C | ||
*/ | ||
public C getCode() { | ||
return code; | ||
} | ||
|
||
/** | ||
* code setter | ||
* | ||
* @param code code of model | ||
*/ | ||
public void setCode(C code) { | ||
this.code = code; | ||
} | ||
|
||
/** | ||
* name getter | ||
* | ||
* @return name | ||
*/ | ||
public String getName() { | ||
return name; | ||
} | ||
|
||
/** | ||
* name setter | ||
* | ||
* @param name name of model | ||
*/ | ||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
} |
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
Oops, something went wrong.