yinbentan
2024-07-08 f4508a84236a4aff1c7b5bfa17a14a8ff95728ba
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
34
package request
 
import "wms/constvar"
 
type MiniDict struct {
    Name      string `json:"name"`      // 名称
    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"` // 字典名称
}
 
type GetMiniDictList struct {
    Type constvar.MiniDictType `json:"type"` // 字典类型
}