Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { gorm.Model UserId uint `gorm:"index;unique" ` // Users Users HouseName string `json:"house_name" validate:"required"` Street string `json:"street" validate:"required"` City string `json:"city" validate:"required"` State string `json:"state" validate:"required"` Pin string `json:"pin" validate:"required"` }
type CombinedProductInfo ¶
type Extractaddress ¶
type Order ¶
type Order struct { gorm.Model OrderId string `json:"order_id" gorm:"primary_key;unique;not null"` UserID uint `gorm:"not null" json:"user_id"` ProductID uint `json:"product_id"` AddressID uint `json:"address_id"` Quantity int `json:"quantity"` Price float64 `json:"price"` Total float64 ShippmentStatus string `json:"status"` Aprovel bool `json:"approvel"` }
type OrderRespAdmin ¶
type PersonalInformation ¶
type ProductImage ¶
type ProductImageInfo ¶
type ProductInfo ¶
type Users ¶
type Users struct { gorm.Model Name string `json:"name" validate:"required"` Username string `json:"username" gorm:"index;unique" validate:"required"` Email string `json:"email" validate:"required,email" ` Password string `json:"password" validate:"required" ` Phone string `json:"phone" validate:"required"` CountryCode string `json:"country_code" validate:"required"` Verified bool OTP string Status bool `json:"status"` Blocked bool `json:"block_status"` Refresh string `json:"refresh"` }
Click to show internal directories.
Click to hide internal directories.