entity

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StatusPending exportStatus = "pending"
	StatusSucceed exportStatus = "succeed"
	StatusError   exportStatus = "error"
)

Functions

This section is empty.

Types

type ExportInfo

type ExportInfo struct {
	ID        uuid.UUID    `json:"id" gorm:"primaryKey;type:uuid"`
	ModelCode string       `json:"modelCode"`
	Filepath  string       `json:"filepath"`
	Status    exportStatus `json:"status"`
	Time      time.Time    `json:"time"`
}

func (ExportInfo) TableName

func (ExportInfo) TableName() string

Jump to

Keyboard shortcuts

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