61 lines
1.8 KiB
Markdown
61 lines
1.8 KiB
Markdown
# Entity 类变更通知模版
|
||
|
||
**识别规则**:类名以 `Entity` 结尾。
|
||
**影响范围**:仅类转换(不展示 request/response 接口)。
|
||
|
||
---
|
||
|
||
## 完整示例(字段修改)
|
||
|
||
```
|
||
# 【类变更通知】
|
||
|
||
> **变更对象: <font color="info">TrainingPositionEntity</font>(<font color="comment">培训岗位</font>)**
|
||
> **修改人: <font color="comment">张三</font>**
|
||
> **时间: <font color="comment">2026-06-07 14:30:00</font>**
|
||
> **路径: <font color="comment">jnpf-ftb/jnpf-ftb-entity/src/main/java/jnpf/entity/training/TrainingPositionEntity.java</font>**
|
||
> **分支: <font color="comment">code/code_change_detection_v1.0</font>**
|
||
|
||
## 【对象变更细节】
|
||
|
||
> **共 <font color="warning">1</font> 项变更**
|
||
|
||
> <font color="warning">[修改]</font> `createTime` 说明: <font color="comment">创建时间</font> 类型: <font color="warning">Date</font> → <font color="info">LocalDateTime</font>
|
||
|
||
## 【影响范围】
|
||
|
||
### 类转换影响
|
||
> Entity: <font color="info">TrainingPositionEntity</font>
|
||
```
|
||
|
||
---
|
||
|
||
## 示例(类删除)
|
||
|
||
```
|
||
## 【对象变更细节】
|
||
|
||
> <font color="warning">[已删除]</font> <font color="comment">该类文件已被移除</font>
|
||
```
|
||
|
||
---
|
||
|
||
## 示例(仅类名变更)
|
||
|
||
```
|
||
## 【对象变更细节】
|
||
|
||
> <font color="warning">[类名变更]</font> <font color="comment">TrainingPositionEntity</font> → <font color="info">TrainingPositionNewEntity</font>
|
||
> <font color="comment">字段无变化</font>
|
||
```
|
||
|
||
---
|
||
|
||
## 占位符
|
||
|
||
| 占位符 | 来源 |
|
||
|--------|------|
|
||
| 路径 | Git 相对路径,`ClassChangeReport.sourceFile` |
|
||
| 类说明 | `@Schema` / `@ApiModel` / 类 Javadoc |
|
||
| 字段说明 | `@Schema` / `@ApiModelProperty` / 字段 Javadoc(见 [field-description.md](field-description.md)) |
|