liujiandao
2024-03-01 6ab6e517d224d8318a9a4ee189671a35bc2fbd2a
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
}