package dto

import usermodel "astrology-api/models/usermodel"

type HomeResponse struct {
	Banner          []usermodel.Banner          `json:"banner"`
	Blog            []usermodel.Blog            `json:"blog"`
	ProductCategory []usermodel.ProductCategory `json:"productCategory"`
	AstrotalkInNews []usermodel.AstrotalkInNews `json:"astrotalkInNews"`
	AstrologyVideo  []usermodel.AstrologyVideo  `json:"astrologyVideo"`
	MySessions      []SessionResponse           `json:"mySessions"`
	Astrologers     []HomeAstrologerResponse    `json:"astrologers"`
	TopOrders       interface{}                 `json:"topOrders"`
	Status          int                         `json:"status"`
}

type SessionResponse struct {
	ID             uint   `json:"id"`
	AstrologerName string `json:"astrologerName"`
	ProfileImage   string `json:"profileImage"`
	Date           string `json:"date"`
	ActionType     string `json:"actionType"`
}

type HomeAstrologerResponse struct {
	ID           uint    `json:"id"`
	Name         string  `json:"name"`
	ProfileImage string  `json:"profileImage"`
	Experience   float64 `json:"experience"`
	Languages    string  `json:"languages"`
	Skills       string  `json:"skills"`
	Charge       float64 `json:"charge"`
	Rating       float64 `json:"rating"`
	TotalOrders  int     `json:"totalOrders"`
}
