domain

package
v0.0.0-...-76732a0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Name       string    `json:"name"`
	UploadedAt time.Time `json:"uploaded_at"`
}

type Invoice

type Invoice struct {
	UserID      string
	FileID      string
	CustomerID  uint32
	PeriodStart string
	PaidPlan    string
	PaidAmount  float32
	PeriodEnd   string
}

type MPP

type MPP struct {
	CustomerID uint32
	Months     []float32
}

type MRR

type MRR struct {
	New          float32
	Old          float32
	Reactivation float32
	Expansion    float32
	Contraction  float32
	Churn        float32
}

type TotalMRR

type TotalMRR struct {
	New          []float32
	Old          []float32
	Reactivation []float32
	Expansion    []float32
	Contraction  []float32
	Churn        []float32
	Total        []float32
}

type User

type User struct {
	UserID       string
	Email        string
	Password     string
	Token        string
	RefreshToken string
	CreatedAt    time.Time
	UpdatedAt    time.Time
	Files        []File
}

Jump to

Keyboard shortcuts

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