2025-05-04 22:07:13 +08:00

57 lines
1.1 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package dto
type NilReq struct {
}
type NilRsp = NilReq
type ListWhereConditionInfo struct {
Conditions []*GetWhereCondition `json:"conditions"`
}
type CommonListReq struct {
PageNo int `json:"page_no"`
PageLen int `json:"page_len"`
//WhereConditions []*GetWhereCondition `json:"where_conditions"`
WhereConditions string `json:"where_conditions"` // json序列化数据内容是{"conditions": []*GetWhereCondition}
ParsedWhereConditions *ListWhereConditionInfo `json:"-"`
}
type CommonPostReq struct {
Dto *CommonDtoValues `json:"dto"`
}
type CommonPutReq struct {
Dto *CommonDtoValues `json:"dto"`
}
type CommonDeleteReq struct {
Id int `json:"id"`
}
type CommonListRsp = CommonDtoList
type CommonPostRsp struct {
Dto *CommonDtoValues `json:"dto"`
}
type CommonPutRsp struct {
Dto *CommonDtoValues `json:"dto"`
}
type CommonDeleteRsp struct {
Id int `json:"id"`
}
type CommandListReq struct {
Addr string `json:"addr"`
}
type CommandListRsp struct {
List []*PathInfo `json:"list"`
}
type GetProjectAllItemsRsp struct {
Items []*CommonDtoFieldChoice `json:"items"`
}