| 1234567891011121314151617181920212223242526272829303132333435 |
- // ==========================================================================
- // This is auto-generated by gf cli tool. Fill this file as you wish.
- // ==========================================================================
- package model
- import (
- "dashoo.cn/micro/app/model/internal"
- "dashoo.cn/opms_libary/request"
- )
- // SysConfig is the golang structure for table sys_config.
- type SysConfig internal.SysConfig
- // Fill with you ideas below.
- type SysConfigSearchReq struct {
- ConfigName string `json:"configName"` //参数名称
- ConfigKey string `json:"configKey"` //参数键名
- ConfigType string `json:"configType"` //状态
- request.PageReq
- }
- type CreateSysConfigReq struct {
- ConfigName string `json:"configName" v:"required#参数名称不能为空"`
- ConfigKey string `json:"configKey" v:"required#参数键名不能为空"`
- ConfigValue string `json:"configValue" v:"required#参数键值不能为空"`
- ConfigType string `json:"configType" v:"required|in:10,20#系统内置不能为空|系统内置类型只能为10或20"`
- Remark string `json:"remark"`
- }
- type UpdateSysConfigReq struct {
- Id int64 `json:"id" v:"required|min:1#主键ID不能为空|主键ID参数错误"`
- CreateSysConfigReq
- }
|