mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
style: javadoc
This commit is contained in:
parent
3575c6894b
commit
9b51a063d2
@ -17,6 +17,9 @@ package com.mybatisflex.core.field;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 查询属性的信息。
|
||||
*/
|
||||
@SuppressWarnings("rawtypes")
|
||||
public class FieldQuery implements Serializable {
|
||||
|
||||
|
||||
@ -84,7 +84,7 @@ public enum FieldType {
|
||||
);
|
||||
|
||||
/**
|
||||
* 自动推断属性类型
|
||||
* 自动推断属性类型。
|
||||
*
|
||||
* @param field 属性
|
||||
* @return 属性类型
|
||||
|
||||
@ -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);
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user