package entity

type User struct {
	User_Id         *int64  `json:"User_Id" db:"User_Id"`
	User_Name       *string `json:"user_name"  db:"User_Name"`
	User_Image      *string `json:"user_img" db:"User_Image"`
	Address_Type    *int    `json:"addresstype"  db:"Address_Type"`
	Apartment_Id    *string `json:"apartmentid"  db:"Apartment_Id"`
	User_Login_type *string `json:"user_login_type" `
	OTP             *int    `json:"otp" `
	// Block                   *string                 `json:"block"  db:"Block"`
	// Doorno                  *string                 `json:"doorno"  db:"Door_No"`
	User_Mobno   *int64  `json:"mobno"  db:"User_Mobno"`
	User_Emailid *string `json:"emailid"  db:"User_Email"`
	// User_Type               *string                 `json:"user_type"  db:"User_Type"`
	Apartment_Purchase_Date *string `json:"apartment_purchase_date"  db:"Apartment_Purchase_Date"`
	Alternate_No            *int64  `json:"alternate_no"  db:"Alternate_No"`
	Referral_Code           *string `json:"referralcode"  db:"Referral_Code"`
	Address_Id              *int    `json:"addressid"  db:"Address_Id"`
	Account_Status          *string `json:"accountstatus"  db:"Account_Status"`
	IsRefProcessed          *string `json:"isrefprocessed"  db:"Is_Referral_Processed"`
	Referree_Code           *string `json:"referreecode"  db:"Referree_Code"`
	Reject_Reason           *string `json:"reject_reason"  db:"Reject_Reason"`
	Approved_By             *string `json:"approved_by"  db:"Approved_By"`
	Created_Timestamp       *string `json:"createdtimestamp"  db:"Created_Timestamp"`
	Rec_Timestamp           *string `json:"rectimestamp"  db:"Recent_Login"`
	// GSTN                    *string                 `json:"GSTN"  db:"GSTN"`
	// TIN                     *string                 `json:"TIN"  db:"TIN"`
	// PAN                     *string                 `json:"PAN"  db:"PAN"`
	// Billing_Address_Id      *int                    `json:"Billing_Address_Id"  db:"Billing_Address_Id"`
	Notification_Token    *string             `json:"notificationtoken"  db:"Notification_Token"`
	Mapped_Apartments     *string             `json:"mappedApartments"  db:"Mapped_Apartments"`
	Mapped_Apartment_list []UserApartmentInfo `json:"mappedApartmentslist"`
}

type FetchProblemCategory struct {
	Service_Id          *int    `json:"service_id" db:"Service_Id"`
	Service_Name        *string `json:"service_name" db:"Service_Name"`
	Service_Description *string `json:"service_description" db:"Service_Description"`
	Service_Image_Large *string `json:"large_img" db:"Service_Image_Large"`
	Service_Image_Small *string `json:"small_img" db:"Service_Image_Small"`
	Problem_Name        *string `json:"problem_name" db:"Problem_Name"`
	Problem_Id          *int    `json:"problem_id" db:"Problem_Id"`
}

type GetAllUsers struct {
	User_Info  []GetAllUser `json:"users_info"`
	Total_User int          `json:"total_user" db:"Total_User"`
	Page       int          `json:"page"`
}
type GetAllUser struct {
	User_Id               *int    `json:"user_id" db:"User_Id"`
	Name                  *string `json:"user_name" db:"User_Name"`
	User_Image            *string `json:"user_img" db:"User_Image"`
	User_Email            *string `json:"user_email" db:"User_Email"`
	User_Mobno            *string `json:"primary_contact" db:"User_Mobno"`
	Alternate_No          *string `json:"secondary_contact" db:"Alternate_No"`
	Purchase_Date         *string `json:"purchase_date" db:"Apartment_Purchase_Date"`
	Status                *string `json:"status" db:"Account_Status"`
	Created_Date          *string `json:"created_date" db:"Created_Timestamp"`
	Apartment_Name        *string `json:"apartment_name" db:"Apartment_Name"`
	Door_No               *string `json:"door_no" db:"Door_No"`
	Block_No              *string `json:"block" db:"Block"`
	City                  *string `json:"city" db:"City_Name"`
	State                 *string `json:"state" db:"State_Name"`
	GSTN                  *string `json:"gstn" db:"GSTN"`
	TIN                   *string `json:"tin" db:"TIN"`
	PAN                   *string `json:"pan" db:"PAN"`
	Billing_Address_Id    *int    `json:"billing_address_id" db:"Billing_Address_Id"`
	Billing_Address_Line1 *string `json:"billing_address_line1" db:"Billing_Address_Line1"`
	Billing_Address_Line2 *string `json:"billing_address_line2" db:"Billing_Address_Line2"`
	Billing_Area_Name     *string `json:"billing_area_name" db:"Billing_Area_Name"`
	Billing_City          *string `json:"billing_city" db:"Billing_City"`
	Billing_State         *string `json:"billing_state" db:"Billing_State"`
	Billing_Pincode       *string `json:"billing_pincode" db:"Billing_Pincode"`
	Billing_Country       *string `json:"billing_country" db:"Billing_Country"`
	Billing_Latitude      *string `json:"billing_latitude" db:"Billing_Latitude"`
	Billing_Longitude     *string `json:"billing_longitude" db:"Billing_Longitude"`
	Total_Srq             *int    `json:"Total_Srq" db:"Total_Srq"`
}

type UserApartmentMapping struct {
	User_Id                 *int    `json:"user_id" db:"User_Id"`
	Name                    *string `json:"user_name" db:"User_Name"`
	User_Emailid            *string `json:"email"  db:"User_Email"`
	User_Mobno              *int64  `json:"mobno"  db:"User_Mobno"`
	Alternate_No            *int64  `json:"secondary_contact"  db:"Alternate_No"`
	User_Image              *string `json:"user_img" db:"User_Image"`
	Apartment_Purchase_Date *string `json:"apartment_purchase_date"  db:"Apartment_Purchase_Date"`
	Apartment_Id            *string `json:"apartmentid" db:"Apartment_Id" binding:"required"`
	User_Type               *int    `json:"user_type" db:"User_Type"`
	Apartment_Name          *string `json:"apartment_name" db:"Apartment_Name"`
	Block                   *string `json:"Block"  db:"Block"`
	Doorno                  *string `json:"Door_No"  db:"Door_No"`
	Apartment_Image         *string `json:"image" db:"Apartment_Image"`
	City                    *string `json:"city" db:"City_Name"`
	State                   *string `json:"state" db:"State_Name"`
	GSTN                    *string `json:"GSTN"  db:"GSTN"`
	TIN                     *string `json:"TIN"  db:"TIN"`
	PAN                     *string `json:"PAN"  db:"PAN"`
	Billing_Address_Id      *int    `json:"Billing_Address_Id"  db:"Billing_Address_Id"`
	Billing_Country         *string `json:"billing_country" db:"Billing_Country"`
	Billing_State           *string `json:"billing_state" db:"Billing_State"`
	Billing_City            *string `json:"billing_city" db:"Billing_City"`
	Billing_Area_Name       *string `json:"billing_area" db:"Billing_Area_Name"`
	Billing_Address_Line1   *string `json:"billing_address_line1" db:"Billing_Address_Line1"`
	Billing_Address_Line2   *string `json:"billing_address_line2" db:"Billing_Address_Line2"`
	Billing_Pincode         *string `json:"billing_pincode" db:"Billing_Pincode"`
	Billing_Latitude        *string `json:"billing_latitude" db:"Billing_Latitude"`
	Billing_Longitude       *string `json:"billing_longitude" db:"Billing_Longitude"`
}

type UserApartmentInfo struct {
	Name                  *string `json:"name"  db:"Name"`
	Id                    *int    `json:"id"  db:"Id"`
	Block                 *string `json:"block"  db:"Block"`
	Doorno                *string `json:"doorno"  db:"Door_No"`
	Image                 *string `json:"img" db:"Apartment_Image"`
	City_Name             *string `json:"city_name" db:"City_Name"`
	State_Name            *string `json:"state_name" db:"State_Name"`
	User_Type             *string `json:"user_type"  db:"User_Type"`
	GSTN                  *string `json:"GSTN"  db:"GSTN"`
	TIN                   *string `json:"TIN"  db:"TIN"`
	PAN                   *string `json:"PAN"  db:"PAN"`
	Billing_Address_Id    *int    `json:"Billing_Address_Id"  db:"Billing_Address_Id"`
	Billing_Country       *string `json:"billing_country" db:"Billing_Country"`
	Billing_State         *string `json:"billing_state" db:"Billing_State"`
	Billing_City          *string `json:"billing_city" db:"Billing_City"`
	Billing_Area_Name     *string `json:"billing_area" db:"Billing_Area_Name"`
	Billing_Address_Line1 *string `json:"billing_address_line1" db:"Billing_Address_Line1"`
	Billing_Address_Line2 *string `json:"billing_address_line2" db:"Billing_Address_Line2"`
	Billing_Pincode       *string `json:"billing_pincode" db:"Billing_Pincode"`
	Billing_Latitude      *string `json:"billing_latitude" db:"Billing_Latitude"`
	Billing_Longitude     *string `json:"billing_longitude" db:"Billing_Longitude"`
}
