更新 llms-full.txt

This commit is contained in:
oyo
2025-06-26 14:40:29 +08:00
parent 629053a5ad
commit 9cb389af91

View File

@@ -199,7 +199,7 @@ DateTime endTime //会议结束时间
"field": "room_id", "field": "room_id",
"fieldName": "meeting_room", "fieldName": "meeting_room",
"dto": { "dto": {
"uuid": null, "uuid": "d05c7b3d-1c92-45a1-2113-a01b245813c1",
"name": "meeting_room_with_meetings_dto", "name": "meeting_room_with_meetings_dto",
"fromEntity": "meeting_room", "fromEntity": "meeting_room",
"description": "会议室信息,包含会议列表" "description": "会议室信息,包含会议列表"
@@ -222,7 +222,7 @@ DateTime endTime //会议结束时间
```json ```json
{ {
"dto": { "dto": {
"uuid": null, "uuid": "d05c7b3d-1c92-45a1-2113-a01b245813c1",
"name": "meeting_room_with_meetings_dto", "name": "meeting_room_with_meetings_dto",
"description": "会议室详情,包含会议室信息,以及其中的会议信息", "description": "会议室详情,包含会议室信息,以及其中的会议信息",
"fromEntity": "meeting", "fromEntity": "meeting",
@@ -241,7 +241,7 @@ DateTime endTime //会议结束时间
} }
} }
``` ```
示例中meeting_with_room_dto和meeting_room_with_meetings_dto没有uuid为待创建的DTO。meeting_base_dto为已存在的DTO带有uuid。 示例中meeting_with_room_dto没有uuid为待创建的DTO。meeting_base_dto和meeting_room_with_meetings_dto为已存在的DTO带有uuid。
- **预定义方法:** 对于每一个DTOTOCO会自动其根Entity的唯一索引生成一些预定义的RPC方法及实现预定义方法不仅获取了根Entity的数据还通过RPC调用的方式**自动**获取了**所有扩展字段**的数据并对数据进行了拼装处理。如实体user有unique index(username)则会针对UserDto生成UserDto UserDtoService.getByUserName(String userName)和List<UserDto> UserDtoService.getByUserNames(List<String> userNames)。预定义方法内部根据外键关系自动生成了复杂DTO数据的递归、Join拼装的能力会直接返回DTO内部的所有继承字段和扩展字段的数据。注意自定义字段的数据获取不会自动生成需要在对应的convert方法中编写代码。 - **预定义方法:** 对于每一个DTOTOCO会自动其根Entity的唯一索引生成一些预定义的RPC方法及实现预定义方法不仅获取了根Entity的数据还通过RPC调用的方式**自动**获取了**所有扩展字段**的数据并对数据进行了拼装处理。如实体user有unique index(username)则会针对UserDto生成UserDto UserDtoService.getByUserName(String userName)和List<UserDto> UserDtoService.getByUserNames(List<String> userNames)。预定义方法内部根据外键关系自动生成了复杂DTO数据的递归、Join拼装的能力会直接返回DTO内部的所有继承字段和扩展字段的数据。注意自定义字段的数据获取不会自动生成需要在对应的convert方法中编写代码。
- **公开性:** DTO可以设置公开性如果DTO为公开则其生成的预定义RPC方法也为公开RPC可以被其他模块订阅并调用如果DTO为非公开则其生成的预定义RPC方法也为非公开RPC其他模块不可见 - **公开性:** DTO可以设置公开性如果DTO为公开则其生成的预定义RPC方法也为公开RPC可以被其他模块订阅并调用如果DTO为非公开则其生成的预定义RPC方法也为非公开RPC其他模块不可见