审查视图

pkg/infrastructure/service_gateway/allied_creation_basic/param_dictonary.go 890 字节
tangxuhui authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
package allied_creation_basic

//ReqGetDictionarysByCode 根据code获取字典数据
type ReqGetDictionaryByCode struct {
	DictCode []string `json:"dictCode"`
}

//DataGetDictionarysByCode 根据code获取字典数据
type DataGetDictionaryByCode struct {
	Dictionarys []struct {
		// 字典编号 主键
		DictionaryId int64 `json:"dictionaryId"`
		// 字典编码
		DictCode string `json:"dictCode"`
		// 字典名称
		DictName string `json:"dictName"`
		// 备注信息
		Describe string `json:"describe"`
		// 字典值列表
		DictItems []struct {
			// 项编码
			ItemCode string `json:"itemCode"`
			// 项标签
			ItemLabel string `json:"itemLabel"`
			// 值
			ItemValue string `json:"itemValue"`
			// 是否可见【1:不可以】【2:可以】
			IsShow int `json:"isShow"`
			// 显示序号
			Sort int `json:"sort"`
		} `json:"dictItems"`
	} `json:"dictionarys"`
}