mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-01-31 08:48:39 +08:00
62 lines
1.0 KiB
Go
62 lines
1.0 KiB
Go
|
// Package sysin
|
||
|
// @Link https://github.com/bufanyun/hotgo
|
||
|
// @Copyright Copyright (c) 2022 HotGo CLI
|
||
|
// @Author Ms <133814250@qq.com>
|
||
|
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
|
||
|
//
|
||
|
package sysin
|
||
|
|
||
|
import (
|
||
|
"hotgo/internal/model/entity"
|
||
|
"hotgo/internal/model/input/form"
|
||
|
)
|
||
|
|
||
|
// CronMaxSortInp 最大排序
|
||
|
type CronMaxSortInp struct {
|
||
|
Id int64
|
||
|
}
|
||
|
|
||
|
type CronMaxSortModel struct {
|
||
|
Sort int
|
||
|
}
|
||
|
|
||
|
// CronEditInp 修改/新增字典数据
|
||
|
type CronEditInp struct {
|
||
|
entity.SysCron
|
||
|
}
|
||
|
type CronEditModel struct{}
|
||
|
|
||
|
// CronDeleteInp 删除字典类型
|
||
|
type CronDeleteInp struct {
|
||
|
Id interface{}
|
||
|
}
|
||
|
type CronDeleteModel struct{}
|
||
|
|
||
|
// CronViewInp 获取信息
|
||
|
type CronViewInp struct {
|
||
|
Id int64
|
||
|
}
|
||
|
|
||
|
type CronViewModel struct {
|
||
|
entity.SysCron
|
||
|
}
|
||
|
|
||
|
// CronListInp 获取列表
|
||
|
type CronListInp struct {
|
||
|
form.PageReq
|
||
|
form.RangeDateReq
|
||
|
form.StatusReq
|
||
|
Name string
|
||
|
}
|
||
|
|
||
|
type CronListModel struct {
|
||
|
entity.SysCron
|
||
|
GroupName string `json:"groupName"`
|
||
|
}
|
||
|
|
||
|
// CronStatusInp 更新状态
|
||
|
type CronStatusInp struct {
|
||
|
entity.SysCron
|
||
|
}
|
||
|
type CronStatusModel struct{}
|