package entity

type ServiceRequest struct {
	Srq_Id                 *int64     `json:"srq_id" db:"Srq_Id"`
	Srq_Key                *string    `json:"srq_key" db:"Srq_Key"`
	Srq_Service            *int       `json:"service" db:"Srq_Service"`
	Service_Name           *string    `json:"service_name" db:"Service_Name"`
	Service_Description    *string    `json:"service_description" db:"Service_Description"`
	Service_Image_Large    *string    `json:"service_large_img" db:"Service_Image_Large"`
	Service_Image_Small    *string    `json:"service_small_img" db:"Service_Image_Small"`
	Request_Type           *int       `json:"request_type" db:"Request_Type"`
	Parent_Request         *string    `json:"parent_request" db:"Parent_Request"`
	Child_Request          *string    `json:"chlid_request" db:"Child_Request"`
	Srq_Apartment_Id       *int       `json:"apartmentid" db:"Srq_Apartment_Id"`
	Apartment_Name         *string    `json:"apartment_name" db:"Apartment_Name"`
	Apartment_Image        *string    `json:"apartment_image" db:"Apartment_Image"`
	User_Id                *int       `json:"userid" db:"User_Id"`
	User_Name              *string    `json:"user_name" db:"User_Name"`
	User_Mobno             *string    `json:"usr_mobno" db:"User_Mobno"`
	User_Image             *string    `json:"user_img" db:"User_Image"`
	Block                  *string    `json:"block" db:"Block"`
	Door_No                *string    `json:"door_no" db:"Door_No"`
	City_Name              *string    `json:"city" db:"City_Name"`
	State_Name             *string    `json:"state" db:"State_Name"`
	Adm_Id                 *int       `json:"admid" db:"Adm_Id"`
	Admin_Name             *string    `json:"adm_name" db:"Admin_Name"`
	Admin_Comments         *string    `json:"admin_comments" db:"Admin_Comments"`
	Admin_Mobno            *string    `json:"adm_mobno" db:"Admin_Mobno"`
	Technician_Id          *int       `json:"technicianid" db:"Technician_Id"`
	Technician_Name        *string    `json:"tech_name" db:"Technician_Name"`
	Technician_Mobno       *string    `json:"tech_mobno" db:"Technician_Mobno"`
	Technician_Comments    *string    `json:"tech_comment" db:"Technician_Comments"`
	Tech_Image             *string    `json:"tech_img" db:"Tech_Image"`
	Promocode_Id           *int       `json:"promoid" db:"Promocode_Id"`
	Promocode              *string    `json:"promo" db:"Name"`
	Discount               *float32   `json:"discount" db:"Discount"`
	Max_Discount           *float32   `json:"max_discount" db:"Max_Discount"`
	Srq_Service_Cost       *string    `json:"service_cost" db:"Srq_Service_Cost"`
	Srq_Material_Cost      *string    `json:"srq_material_cost" db:"Srq_Material_Cost"`
	Srq_Labour_Cost        *string    `json:"srq_labour_cost" db:"Srq_Labour_Cost"`
	Srq_Tax_Percentage     *float32   `json:"tax_percentage" db:"Srq_Tax_Percentage"` //
	Srq_Tax                *string    `json:"srq_tax" db:"Srq_Tax"`
	Srq_Discount_Amount    *string    `json:"discount_amount" db:"Srq_Discount_Amount"`
	Srq_Other_Cost         *string    `json:"srq_other_cost" db:"Srq_Other_Cost"`
	Srq_Special_Discount   *string    `json:"srq_special_discount" db:"Srq_Special_Discount"`
	Srq_Final_Cost         *string    `json:"final_cost" db:"Srq_Final_Cost"`
	Quote_Material_Cost    *string    `json:"quote_material_cost" db:"Quote_Material_Cost"`
	Quote_Labour_Cost      *string    `json:"quote_labour_cost" db:"Quote_Labour_Cost"`
	Quote_Service_Cost     *string    `json:"quote_service_cost" db:"Quote_Service_Cost"`
	Quote_Tax              *string    `json:"quote_tax" db:"Quote_Tax"`
	Quote_Other_Cost       *string    `json:"quote_other_cost" db:"Quote_Other_Cost"`
	Srq_Quote_Cost         *string    `json:"quote_cost" db:"Srq_Quote_Cost"`
	Srq_Stage_1            *int       `json:"stage1" db:"Srq_Stage_1"`
	Srq_Stage_1_ts         *string    `json:"stage1_ts" db:"Srq_Stage_1_ts"`
	Srq_Stage_2            *int       `json:"stage2" db:"Srq_Stage_2"`
	Srq_Stage_2_ts         *string    `json:"stage2_ts" db:"Srq_Stage_2_ts"`
	Srq_Stage_3            *int       `json:"stage3" db:"Srq_Stage_3"`
	Srq_Stage_3_ts         *string    `json:"stage3_ts" db:"Srq_Stage_3_ts"`
	Srq_Stage_4            *int       `json:"stage4" db:"Srq_Stage_4"`
	Srq_Stage_4_ts         *string    `json:"stage4_ts" db:"Srq_Stage_4_ts"`
	Srq_Stage_5            *int       `json:"stage5" db:"Srq_Stage_5"`
	Srq_Stage_5_ts         *string    `json:"stage5_ts" db:"Srq_Stage_5_ts"`
	Srq_Stage_6            *int       `json:"stage6" db:"Srq_Stage_6"`
	Srq_Stage_6_ts         *string    `json:"stage6_ts" db:"Srq_Stage_6_ts"`
	Srq_Stage_7            *int       `json:"stage7" db:"Srq_Stage_7"`
	Srq_Stage_7_ts         *string    `json:"stage7_ts" db:"Srq_Stage_7_ts"`
	Srq_Stage_8            *int       `json:"stage8" db:"Srq_Stage_8"`
	Srq_Stage_8_ts         *string    `json:"stage8_ts" db:"Srq_Stage_8_ts"`
	Srq_Stage_9            *int       `json:"stage9" db:"Srq_Stage_9"`
	Srq_Stage_9_ts         *string    `json:"stage9_ts" db:"Srq_Stage_9_ts"`
	Is_Happycode_Validated *int       `json:"pin_validation" db:"Is_Happycode_Validated"`
	Srq_Payment_Mode       *string    `json:"payment_mode" db:"Srq_Payment_Mode"`
	Srq_Payment_Status     *string    `json:"payment_status" db:"Srq_Payment_Status"`
	Srq_Quote_Status       *string    `json:"quote_status" db:"Srq_Quote_Status"`
	Srq_Problem_Desc       *string    `json:"problem_description" db:"Srq_Problem_Desc"`
	Srq_Problem_Category   *int       `json:"sub_category" db:"Srq_Problem_Category"`
	Problem_Category       *string    `json:"pblm_category" db:"Problem_Name"`
	Srq_Category_Others    *string    `json:"other_category" db:"Srq_Category_others"`
	Srq_Visit_Timeslot     *string    `json:"timeslot" db:"Srq_Visit_Timeslot"`
	Srq_Instructions       *string    `json:"instructions" db:"Srq_Instructions"`
	Created_Date           *string    `json:"created_date" db:"Created_Date"`
	SrqImages              []SrqImage `json:"srq_image"`
	Srq_Img                *string    `json:"srq_img" db:"SRQ_Image"`
	Feedback               *string    `json:"feedback" db:"Feedback"`
	Rating                 *float32   `json:"rating" db:"Rating"`
}

type SrqImage struct {
	Image_Path *string `json:"srq_image" db:"Image_Path"`
}
type GetProblemDescription struct {
	Problem_Name *string `json:"problem_name" db:"Problem_Name"`
}
type ServiceInfo struct {
	Service_Id          *int    `json:"service_id" db:"Service_Id"`
	Service_Name        *string `json:"service_name" db:"Service_Name"`
	Apartment_Id        *int    `json:"apartment_id" db:"Apartment_Id"`
	Service_Image_Large *string `json:"large_img" db:"Service_Image_Large"`
}

type FetchServiceRequest struct {
	ServiceRequests []ServiceRequest `json:"service_request"`
	Total_Page      int              `json:"total_page"`
	Total_SRQ       int              `json:"total_service_request"`
	Total_Cost      *float64         `json:"total_Cost"`
}
type SkilledService struct {
	Service_Id          *int    `json:"service_id" db:"Service_Id"`
	Service_Name        *string `json:"service_name" db:"Service_Name"`
	Service_Image_Small *string `json:"service_image_small" db:"Service_Image_Small"`
	Service_Image_Large *string `json:"service_image_large" db:"Service_Image_large"`
}

type Status struct {
	Srq_Stage_3 int `json:"srq_stage_3" db:"Srq_Stage_3"`
	Srq_Stage_4 int `json:"srq_stage_4" db:"Srq_Stage_4"`
	Srq_Stage_5 int `json:"srq_stage_5" db:"Srq_Stage_5"`
	Srq_Stage_6 int `json:"srq_stage_6" db:"Srq_Stage_6"`
}

type CostInfo struct {
	Srq_Id              int64    `json:"srq_id" db:"Srq_Id"`
	Srq_Service_Cost    *string  `json:"service_cost" db:"Srq_Service_Cost"`
	Srq_Material_Cost   *string  `json:"srq_material_cost" db:"Srq_Material_Cost"`
	Srq_Labour_Cost     *string  `json:"srq_labour_cost" db:"Srq_Labour_Cost"`
	Srq_Tax             *string  `json:"srq_tax" db:"Srq_Tax"`
	Srq_Other_Cost      *string  `json:"srq_other_cost" db:"Srq_Other_Cost"`
	Srq_Discount_Amount *string  `json:"discount_amount" db:"Srq_Discount_Amount"`
	Srq_Final_Cost      *string  `json:"final_cost" db:"Srq_Final_Cost"`
	Quote_Service_Cost  *string  `json:"quote_Service_cost" db:"Quote_Service_Cost"`
	Quote_Material_Cost *string  `json:"quote_material_cost" db:"Quote_Material_Cost"`
	Quote_Labour_Cost   *string  `json:"quote_labour_cost" db:"Quote_Labour_Cost"`
	Quote_Tax           *string  `json:"quote_tax" db:"Quote_Tax"`
	Quote_Other_Cost    *string  `json:"quote_other_cost" db:"Quote_Other_Cost"`
	Srq_Quote_Cost      *string  `json:"quote_cost" db:"Srq_Quote_Cost"`
	Srq_Quote_Status    *string  `json:"quote_status" db:"Srq_Quote_Status"`
	Emp_Id              int      `json:"emp_id" db:"emp_id"`
	SrqSpecialDiscount  *string  `json:"srq_special_discount" db:"Srq_Special_Discount"`
	Srq_Tax_Percentage  *float32 `json:"srq_tax_percentage" db:"Srq_Tax_Percentage"`
}
