Interface DictImportReqConverter
- All Superinterfaces:
io.github.xezzon.zeroweb.core.trait.From<io.github.xezzon.zeroweb.dict.DictImportReq, Dict>
- All Known Implementing Classes:
DictImportReqConverterImpl
-
Field Summary
Fields -
Method Summary
-
Field Details
-
INSTANCE
字典导入请求转换器实例
-
-
Method Details
-
from
将字典导入请求转换为字典实体
转换规则:
- 忽略
parentId,由上层调用者设置 - 忽略
id,由数据库自动生成 enabled设为常量trueeditable设为常量false- 忽略
children,该字段为瞬态字段 tag使用请求值,如为空则使用Dict.DICT_TAG默认值
- Specified by:
fromin interfaceio.github.xezzon.zeroweb.core.trait.From<io.github.xezzon.zeroweb.dict.DictImportReq, Dict>- Parameters:
source- 字典导入请求- Returns:
- 字典实体对象
- 忽略
-