package entity

type ApartmentDetails struct {
	Apartment_Name  *string          `json:"apartments" db:"Apartment_Name"`
	Apartment_Id    int              `json:"apartment_id" db:"Apartment_Id"`
	Apartment_Image *string          `json:"image" db:"Apartment_Image"`
	City            *string          `json:"city" db:"City_Name"`
	City_Id         *int             `json:"city_id" db:"City"`
	State           *string          `json:"state" db:"State_Name"`
	State_Id        *int             `json:"state_id" db:"State"`
	Total_Srq       int              `json:"total_srq" `
	Completed_Srq   int              `json:"completed_srq"`
	Pending_Srq     int              `json:"pending_srq" `
	Total_User      int              `json:"total_user"`
	Service_Info    []ServiceInfo    `json:"service_details"`
	Admin_Info      []AdminInfo      `json:"admin_details"`
	Technician_Info []TechnicianInfo `json:"technician_details"`
	Basic_Info      []BasicInfo      `json:"basic_info"`
	Banner_Info     []Banner         `json:"banner"`
}

type EmpAllocatedApartment struct {
	Apartment_Id    int     `json:"apartment_id" db:"Apartment_Id"`
	Apartment_Name  *string `json:"apartment_name" db:"Apartment_Name"`
	Apartment_Image *string `json:"apartment_image" db:"Apartment_Image"`
}

type UpdateApartmentParamResp struct {
	Apartment_Id *int    `json:"apartment_id" db:"Apartment_Id" binding:"required"`
	Param_Key    *string `json:"param_key" db:"Param_Key" binding:"required"`
	Param_Value  string  `json:"param_value" db:"Param_Value" binding:"required"`
	PARAM_SUB    *string `json:"param_sub" db:"PARAM_SUB"`
	Validity     *string `json:"validity" db:"Validity"`
	News_Image   *string `json:"news_img"`
}
