This commit is contained in:
孟帅
2022-02-25 17:11:17 +08:00
parent 9bd05abb2c
commit 8f3d679a57
897 changed files with 95731 additions and 0 deletions

View File

@@ -0,0 +1,72 @@
package input
import "github.com/bufanyun/hotgo/app/model/entity"
// 获取指定配置键的值
type SysConfigGetValueInp struct {
Key string
}
type SysConfigGetValueModel struct {
Value string
}
// 名称是否唯一
type SysConfigNameUniqueInp struct {
Name string
Id int64
}
type SysConfigNameUniqueModel struct {
IsUnique bool
}
// 最大排序
type SysConfigMaxSortInp struct {
Id int64
}
type SysConfigMaxSortModel struct {
Sort int
}
// 修改/新增字典数据
type SysConfigEditInp struct {
entity.SysConfig
}
type SysConfigEditModel struct{}
// 删除字典类型
type SysConfigDeleteInp struct {
Id interface{}
}
type SysConfigDeleteModel struct{}
// 获取信息
type SysConfigViewInp struct {
Id string
}
type SysConfigViewModel struct {
entity.SysConfig
}
// 获取列表
type SysConfigListInp struct {
Page int
Limit int
Name string
Code string
DeptId int
Mobile int
Username string
Realname string
StartTime string
EndTime string
Status int
}
type SysConfigListModel struct {
entity.SysConfig
DeptName string `json:"dept_name"`
RoleName string `json:"role_name"`
}