23 lines
415 B
Go
23 lines
415 B
Go
package logsdomain
|
|
|
|
import (
|
|
adsdomain "legalgo-BE-go/internal/domain/ads"
|
|
)
|
|
|
|
type LogsRequest struct {
|
|
AdsID string `json:"ads_id" validate:"required"`
|
|
}
|
|
|
|
type LogsSpec struct {
|
|
ContentID string `json:"content_id" validate:"required"`
|
|
IP *string
|
|
UserID *string
|
|
UserAgent *string
|
|
Category string
|
|
}
|
|
|
|
type LogResponse struct {
|
|
ID string `json:"id"`
|
|
News []adsdomain.Ads `json:"news"`
|
|
}
|