model

package
v0.0.0-...-840ed6c Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address struct {
	Street     string `json:"street,omitempty"`
	Number     string `json:"number,omitempty"`
	District   string `json:"district,omitempty"`
	Complement string `json:"complement,omitempty"`
	City       string `json:"city,omitempty"`
	State      string `json:"state,omitempty"`
	ZipCode    string `json:"zipcode,omitempty"`
}

type Customer

type Customer struct {
	ID           string     `json:"id,omitempty"`
	UUID         string     `json:"uuid,omitempty"`
	Name         string     `json:"name,omitempty"`
	IsActive     bool       `json:"is_active,omitempty"`
	Email        string     `json:"email,omitempty"`
	Phone        string     `json:"phone,omitempty"`
	CpfCnpj      string     `json:"cpf_cnpj,omitempty"`
	TaxReceipt   string     `json:"tax_receipt,omitempty"`
	BusinessName string     `json:"business_name,omitempty"`
	BirthDate    *time.Time `json:"birthdate,omitempty"`
	Ip           string     `json:"ip,omitempty"`
	CreatedAt    *time.Time `json:"created_at,omitempty"`
	UpdatedAt    *time.Time `json:"updated_at,omitempty"`

	Address         *Address `json:"address,omitempty"`
	BillingAddress  *Address `json:"billing_address,omitempty"`
	ShippingAddress *Address `json:"shipping_address,omitempty"`
}

Jump to

Keyboard shortcuts

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