package request
|
|
import "wms/constvar"
|
|
type MiniDict struct {
|
Name string `json:"name"` // 名称
|
Code string `json:"code"` // 编码
|
Value string `json:"value"` // 值
|
IsDefault bool `json:"isDefault"` // 是否默认
|
}
|
|
type AddMiniDict struct {
|
MiniDict
|
Type constvar.MiniDictType `json:"type"` // 字典类型
|
}
|
|
type EditMiniDict struct {
|
MiniDict
|
ID int `json:"id"` // 字典类型
|
Type constvar.MiniDictType `json:"type"` // 字典类型
|
}
|
|
type SaveMiniDict struct {
|
Type constvar.MiniDictType `json:"type"` // 字典类型
|
List []*MiniDict `json:"list"`
|
}
|
|
type GetMiniDict struct {
|
Type constvar.MiniDictType `json:"type"` // 字典类型
|
Name string `json:"name"` // 字典名称
|
Keyword string `json:"keyword"` // 关键字查询
|
}
|
|
type GetMiniDictList struct {
|
Type constvar.MiniDictType `json:"type"` // 字典类型
|
Keyword string `json:"keyword"` // 关键字查询
|
}
|