netxd_grpc_mongo_models

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Customer

type Customer struct {
	CustomerId string    `json:"customer_id" bson:"customer_id"`
	FirstName  string    `json:"first_name" bson:"first_name"`
	LastName   string    `json:"last_name" bson:"last_name"`
	BankId     string    `json:"bank_id" bson:"bank_id"`
	Balance    float32   `json:"balance" bson:"balance"`
	CreatedAt  time.Time `json:"created_at" bson:"created_at"`
	UpdatedAt  time.Time `json:"updated_at" bson:"updated_at"`
	IsActive   bool      `json:"is_active" bson:"is_active"`
}

type CustomerResponse

type CustomerResponse struct {
	ID         primitive.ObjectID `json:"id" bson:"_id"`
	CustomerId string             `json:"customer_id" bson:"customer_id"`
	CreatedAt  string             `json:"created_at" bson:"created_at"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL