zhangqian
2024-07-31 155f70979af20ca520a55b89c6ec8cd46c43f8a5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package request
 
import "wms/constvar"
 
type SystemConfig struct {
    ID         uint                      `json:"ID"`
    ConfigType constvar.SystemConfigType `json:"configType" gorm:"type:int;not null"`                                 //1 每月库存结算时间点
    Name       string                    `json:"name" gorm:"index;type:varchar(255);not null;default:'';comment:设置名"` //设置名称
    Val        string                    `json:"val"  gorm:"index;type:varchar(255);not null;comment:设置值"`            //设置值
}
 
type GetSystemConfig struct {
    ConfigType constvar.SystemConfigType `form:"configType" binding:"required"` //1 每月库存结算时间点
}