package entity

type State struct {
	States   *string `json:"states" db:"State_Name"`
	State_Id int     `json:"state_id" db:"State_Id"`
}

type City struct {
	Cities  *string `json:"cities" db:"City_Name"`
	City_Id int     `json:"city_id" db:"City_Id"`
}

type SuperAdminDashboard struct {
	Services_Completed int             `json:"srq_completed" `
	Services_Pending   int             `json:"srq_pending"`
	Technician         int             `json:"total_technician" `
	Total_User         int             `json:"total_user"`
	Emp_Working        int             `json:"emp_working"`
	Emp_Leave          int             `json:"emp_leave"`
	Apartment_Users    []ApartmentUser `json:"apartment_users"`
	Month_Srq          []MonthSrqCount `json:"monthwise"`
}
type MonthSrqCount struct {
	Month        int           `json:"month" db:"Month"`
	Year         *string       `json:"year" db:"Year"`
	Srq_Count    *int          `json:"srq_count" db:"Srq_Count"`
	Service_Wise []ServiceWise `json:"service_srq_count"`
}

type ServiceWise struct {
	Service_Name *string `json:"service_name" db:"Service_Name"`
	Month        int     `json:"month" db:"Month"`
	Year         *string `json:"year" db:"Year"`
	Srq_Count    *int    `json:"srq_count" db:"Srq_Count"`
}
type ApartmentUser struct {
	Apartment_Name *string `json:"apartment_name" db:"Apartment_Name"`
	User           int     `json:"user_count" db:"User_Count"`
}
