model

package
v0.0.0-...-85f739f Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type List

type List struct {
	ID          uint `gorm:"primary_key"`
	CreatedAt   time.Time
	UpdatedAt   time.Time
	Title       string `gorm:"size:100;not null"`
	Description string `gorm:"size:1000;not null"`
	FileUpload  string `gorm:"size:255"`
	Level0ID    sql.NullInt64
	Sublists    []List `gorm:"foreignkey:Level0ID"`

	FileHeader *multipart.FileHeader `gorm:"-" json:"-"`
}

Jump to

Keyboard shortcuts

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