zhangqian
2024-02-29 0f7dbc99a9e0c0678d458e2f8f60df52f7fdb3d1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package request
 
import "silkserver/constvar"
 
type GetDictList struct {
    PageInfo
    DictType constvar.DictType `json:"dictType"` //字典类型
}
 
type AddDict struct {
    DictType constvar.DictType `json:"dictType"` //字典类型
    Number   string            `json:"number"`   //编码
    Name     string            `json:"name"`     //名称
    Remark   string            `json:"remark"`   //备注
}
 
type UpdateDict struct {
    ID uint `gorm:"comment:主键ID;primaryKey;" json:"id"`
    AddDict
}