docs: 完善 javadoc

This commit is contained in:
zhouxy108 2025-05-01 03:46:03 +08:00
parent 97a4ae2279
commit 5ce738bdfc
4 changed files with 10 additions and 0 deletions

View File

@ -23,6 +23,8 @@ import xyz.zhouxy.plusone.commons.util.StringTools;
/** /**
* 身份证号 * 身份证号
*
* @author <a href="http://zhouxy.xyz:3000/ZhouXY108">ZhouXY</a>
*/ */
public interface IDCardNumber { public interface IDCardNumber {

View File

@ -40,6 +40,7 @@ import xyz.zhouxy.plusone.commons.util.StringTools;
* </p> * </p>
* *
* @author <a href="http://zhouxy.xyz:3000/ZhouXY108">ZhouXY</a> * @author <a href="http://zhouxy.xyz:3000/ZhouXY108">ZhouXY</a>
* @see PagingParams
* @see PageResult * @see PageResult
*/ */
public class PagingAndSortingQueryParams { public class PagingAndSortingQueryParams {

View File

@ -21,6 +21,12 @@ import java.util.List;
import xyz.zhouxy.plusone.commons.model.dto.PagingAndSortingQueryParams.SortableProperty; import xyz.zhouxy.plusone.commons.model.dto.PagingAndSortingQueryParams.SortableProperty;
/**
* 分页参数
*
* @author <a href="http://zhouxy.xyz:3000/ZhouXY108">ZhouXY</a>
* @see PagingAndSortingQueryParams
*/
public class PagingParams { public class PagingParams {
/** 每页大小 */ /** 每页大小 */

View File

@ -33,6 +33,7 @@ import xyz.zhouxy.plusone.commons.annotation.StaticFactoryMethod;
* *
* 参考 <a href="https://lostechies.com/jimmybogard/2008/08/12/enumeration-classes/">Enumeration classes</a> * 参考 <a href="https://lostechies.com/jimmybogard/2008/08/12/enumeration-classes/">Enumeration classes</a>
* *
* @author <a href="http://zhouxy.xyz:3000/ZhouXY108">ZhouXY</a>
* @deprecated 设计 Enumeration 的灵感来自于 .net 社区因为 C# 的枚举不带行为 * @deprecated 设计 Enumeration 的灵感来自于 .net 社区因为 C# 的枚举不带行为
* Java 的枚举可以带行为故大多数情况下不需要这种设计 * Java 的枚举可以带行为故大多数情况下不需要这种设计
*/ */