recommender/internal/handler/http/request/applications.go
2024-11-10 00:11:00 +08:00

22 lines
557 B
Go

package request
import "leafdev.top/Ecosystem/recommender/internal/schema"
type ApplicationId struct {
ApplicationId schema.EntityId `json:"application_id" uri:"application_id"`
}
type ApplicationCreateRequest struct {
Name string `json:"name"`
}
type UserLikePost struct {
PostId schema.EntityId `json:"post_id" uri:"post_id"`
ExternalUserId string `json:"external_user_id"`
}
type UserDislikePost struct {
PostId schema.EntityId `json:"post_id" uri:"post_id"`
ExternalUserId string `json:"external_user_id"`
}