// Package lesson
// @Link  https://github.com/bufanyun/hotgo
// @Copyright  Copyright (c) 2025 HotGo CLI
// @Author  Ms <133814250@qq.com>
// @License  https://github.com/bufanyun/hotgo/blob/master/LICENSE
// @AutoGenerate Version 2.17.8
package lesson

import (
	"hotgo/internal/model/input/form"
	"hotgo/internal/model/input/sysin"

	"github.com/gogf/gf/v2/frame/g"
)

// ListReq 查询课程管理列表
type ListReq struct {
	g.Meta `path:"/lesson/list" method:"get" tags:"课程管理" summary:"获取课程管理列表"`
	sysin.LessonListInp
}

type ListRes struct {
	form.PageRes
	List []*sysin.LessonListModel `json:"list"   dc:"数据列表"`
}

// ExportReq 导出课程管理列表
type ExportReq struct {
	g.Meta `path:"/lesson/export" method:"get" tags:"课程管理" summary:"导出课程管理列表"`
	sysin.LessonListInp
}

type ExportRes struct{}

// ViewReq 获取课程管理指定信息
type ViewReq struct {
	g.Meta `path:"/lesson/view" method:"get" tags:"课程管理" summary:"获取课程管理指定信息"`
	sysin.LessonViewInp
}

type ViewRes struct {
	*sysin.LessonViewModel
}

// EditReq 修改/新增课程管理
type EditReq struct {
	g.Meta `path:"/lesson/edit" method:"post" tags:"课程管理" summary:"修改/新增课程管理"`
	sysin.LessonEditInp
}

type EditRes struct{}

// DeleteReq 删除课程管理
type DeleteReq struct {
	g.Meta `path:"/lesson/delete" method:"post" tags:"课程管理" summary:"删除课程管理"`
	sysin.LessonDeleteInp
}

type DeleteRes struct{}