mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
style: 更新 KeyType 注释,添加句号。
This commit is contained in:
parent
9328a1e3fc
commit
9731305e69
@ -1,4 +1,4 @@
|
|||||||
/**
|
/*
|
||||||
* Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com).
|
* Copyright (c) 2022-2023, Mybatis-Flex (fuhai999@gmail.com).
|
||||||
* <p>
|
* <p>
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@ -16,28 +16,30 @@
|
|||||||
package com.mybatisflex.annotation;
|
package com.mybatisflex.annotation;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ID 生成策略
|
* ID 生成策略。
|
||||||
*/
|
*/
|
||||||
public enum KeyType {
|
public enum KeyType {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 自增的方式
|
* 自增的方式。
|
||||||
*/
|
*/
|
||||||
Auto,
|
Auto,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 通过执行数据库 sql 生成
|
* <p>通过执行数据库 sql 生成。
|
||||||
* 例如:select SEQ_USER_ID.nextval as id from dual
|
*
|
||||||
|
* <p>例如:select SEQ_USER_ID.nextval as id from dual
|
||||||
*/
|
*/
|
||||||
Sequence,
|
Sequence,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 通过 IKeyGenerator 生成器生成
|
* 通过 IKeyGenerator 生成器生成。
|
||||||
*/
|
*/
|
||||||
Generator,
|
Generator,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 其他方式,比如在代码层用户手动设置
|
* 其他方式,比如在代码层用户手动设置。
|
||||||
*/
|
*/
|
||||||
None,
|
None,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user