// ========================================================================== // This is auto-generated by gf cli tool. Fill this file as you wish. // ========================================================================== package model import ( comModel "dashoo.cn/micro/app/common/model" "dashoo.cn/micro/app/model/internal" ) // SysConfig is the golang structure for table sys_config. type SysConfig internal.SysConfig // Fill with you ideas below. // 分页请求参数 type SysConfigSearchReq struct { ConfigName string `p:"configName"` //参数名称 ConfigKey string `p:"configKey"` //参数键名 ConfigType string `p:"configType"` //状态 BeginTime string `p:"beginTime"` //开始时间 EndTime string `p:"endTime"` //结束时间 comModel.PageReq } // 新增页面请求参数 type SysConfigAddReq struct { ConfigName string `p:"configName" v:"required#参数名称不能为空"` ConfigKey string `p:"configKey" v:"required#参数键名不能为空"` ConfigValue string `p:"configValue" v:"required#参数键值不能为空"` ConfigType int `p:"configType" v:"required|in:0,1#系统内置不能为空|系统内置类型只能为0或1"` Remark string `p:"remark"` CreateBy uint64 } // 修改页面请求参数 type SysConfigEditReq struct { ConfigId int64 `p:"configId" v:"required|min:1#主键ID不能为空|主键ID参数错误"` UpdateBy uint64 SysConfigAddReq }