Files
ai-agent/internal/pkg/dto/response/notification_response.go
T

19 lines
604 B
Go
Raw Normal View History

package response
type NotificationResponse struct {
ID int64 `json:"id"`
RecipientUserID int64 `json:"recipient_user_id"`
Title string `json:"title"`
Content string `json:"content"`
NotificationType string `json:"notification_type"`
BizType string `json:"biz_type"`
BizID int64 `json:"biz_id"`
ActionURL string `json:"action_url"`
ReadAt string `json:"read_at,omitempty"`
CreatedAt string `json:"created_at,omitempty"`
}
type NotificationUnreadCountResponse struct {
UnreadCount int64 `json:"unread_count"`
}