style: javadoc

This commit is contained in:
Suomm 2023-07-15 20:19:15 +08:00
parent 3575c6894b
commit 9b51a063d2
3 changed files with 15 additions and 1 deletions

View File

@ -17,6 +17,9 @@ package com.mybatisflex.core.field;
import java.io.Serializable;
/**
* 查询属性的信息
*/
@SuppressWarnings("rawtypes")
public class FieldQuery implements Serializable {

View File

@ -84,7 +84,7 @@ public enum FieldType {
);
/**
* 自动推断属性类型
* 自动推断属性类型
*
* @param field 属性
* @return 属性类型

View File

@ -17,8 +17,19 @@ package com.mybatisflex.core.field;
import com.mybatisflex.core.query.QueryWrapper;
/**
* 属性查询条件构建
*
* @param <T> 实体类类型
*/
public interface QueryBuilder<T> {
/**
* 构建查询属性的 {@link QueryWrapper} 对象
*
* @param entity 实体类
* @return 查询条件
*/
QueryWrapper build(T entity);
}