优化数据结构定义

This commit is contained in:
2024-09-25 17:26:49 +08:00
parent b6a27fffd5
commit d5db651282
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ package filter
// Date : 12:21 2022/7/4
type MapRule struct {
SourcePath string `json:"source_path"` // 原路径
MapPath string `json:"map_path"` // 映射路径
TargetPath string `json:"target_path"` // 目标路径路径
Required bool `json:"required"` // 必须存在
DataType string `json:"data_type"` // 数据类型
DefaultValue string `json:"default_value"` // 默认值, 以字符串传入, 会转换成 DataType