package dto

import "time"

type LoginResponse struct {
	Success      bool         `json:"success"`
	Token         string       `json:"token"`
	RefreshToken  string       `json:"refresh_token"`
	User          UserResponse `json:"user"`
}

type UserResponse struct {
	Id             uint       `json:"Id"`
	Name           string     `json:"Name"`
	Email          string     `json:"Email"`
	Password       string     `json:"Password"`
	ContactNo      string     `json:"ContactNo"`
	CountryCode    string     `json:"CountryCode"`
	BirthDate      string     `json:"BirthDate"`
	BirthTime      string     `json:"BirthTime"`
	BirthPlace     string     `json:"BirthPlace"`
	AddressLine1   string     `json:"AddressLine1"`
	Location       string     `json:"Location"`
	Pincode        string     `json:"Pincode"`
	Gender         string     `json:"Gender"`
	MobileVerified bool       `json:"MobileVerified"`
	EmailVerified  bool       `json:"EmailVerified"`
	JwtToken       string     `json:"JwtToken"`
	RefreshToken   string     `json:"RefreshToken"`
	ReferralCode   string     `json:"ReferralCode"`
	DeviceToken    string     `json:"DeviceToken"`
	LastLogin      *time.Time `json:"LastLogin"`
	IsActive       bool       `json:"IsActive"`
	IsDelete       bool       `json:"IsDelete"`
	RoleID         uint       `json:"RoleID"`
	UserWallet     any        `json:"UserWallet"`
}