package v2

import (
	"kami/internal/systemV2/model/entity"

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

	"kami/api/commonApi"
)

type EntranceListReq struct {
	g.Meta `path:"/channel/entrance/getList" tags:"通道信息" method:"get" summary:"获取通道信息"`
	EntranceParamsReq
}

type EntranceListRes struct {
	g.Meta `json:"application/json"`
	commonApi.CommonPageRes[entity.V2RoadInfo]
}

type EntranceCreateReq struct {
	g.Meta `path:"/channel/entrance/create" tags:"通道信息" method:"post" summary:"创建通道信息"`
	Entrance
}

type EntranceCreateRes struct {
	g.Meta `json:"application/json"`
}

type EntranceUpdateReq struct {
	g.Meta `path:"/channel/entrance/update" tags:"通道信息" method:"post" summary:"修改通道信息"`
	commonApi.CommonStrId
	Entrance
}

type EntranceUpdateRes struct {
	g.Meta `json:"application/json"`
}

type EntranceDeleteReq struct {
	g.Meta `path:"/channel/entrance/delete" tags:"通道信息" method:"delete" summary:"删除通道信息"`
	commonApi.CommonStrId
}

type EntranceDeleteRes struct {
	g.Meta `json:"application/json"`
}
