package dto_astrologer

// LoginResponse is what POST /astrologer/login returns.
//
// It replaces the gin.H map the service used to build, key for key, so the app
// contract is unchanged; only the Go type is now checked at compile time.
type LoginResponse struct {
	UserID     uint   `json:"user_id"`
	Mobile     string `json:"mobile"`
	OTPSent    bool   `json:"otp_sent"`
	OTP        string `json:"otp"`
	ExpiresIn  int    `json:"expires_in"`
	NextScreen string `json:"next_screen"`

	// AfterOTPScreen is where the OTP screen hands off to, so the app can build
	// that screen without a second call.
	AfterOTPScreen string `json:"after_otp_screen"`

	MobileVerified bool `json:"mobile_verified"`
	EmailVerified  bool `json:"email_verified"`

	PendingStep      int    `json:"pending_step"`
	PendingStepTitle string `json:"pending_step_title"`
	CanSubmit        bool   `json:"can_submit"`

	ProfileStatus        string `json:"profile_status"`
	AdminStatus          string `json:"admin_status"`
	CompletionPercentage int    `json:"completion_percentage"`
	IsProfileCompleted   bool   `json:"is_profile_completed"`
}
