test

package
v0.0.0-...-f53ad49 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileInfo

type FileInfo struct {
	ID               uint64 `gorm:"column:id"`
	CreatedAt        time.Time
	UpdatedAt        time.Time
	DeletedAt        gorm.DeletedAt `gorm:"index"`
	FatherPath       string         `gorm:"column:father_path"`
	UserId           int64          `gorm:"column:user_id"`
	FileURL          string         `gorm:"column:file_url"`
	ImageURL         string         `gorm:"column:image_url"`
	Size             string         `gorm:"column:size"`
	CustomerFileName string         `gorm:"column:customer_file_name"`
	FileName         string         `gorm:"column:file_name"`
	IsDir            bool           `gorm:"column:is_dir"`
	IsDirLocked      bool           `gorm:"column:is_dir_locked"`
	FileType         string         `gorm:"column:file_type"`
	IsDel            bool           `gorm:"column:is_del"`
	IsProtected      bool           `gorm:"column:is_protected"`
	AccessPassword   *string        `gorm:"column:access_password"`
}

func (*FileInfo) TableName

func (info *FileInfo) TableName() string

type UpdateFileInfo

type UpdateFileInfo struct {
	FatherURL   *string `sql_field:"father_path"`
	FileName    *string `sql_field:"customer_file_name"`
	FileType    *string `sql_field:"file_type"`
	IsDel       *bool   `sql_field:"is_del"`
	IsProtected *bool   `sql_field:"is_protected"`
	FileURL     *string `sql_field:"file_url"`
}

type WhereFileInfo

type WhereFileInfo struct {
	Id          *int64  `sql_field:"id"`
	UserId      *int64  `sql_field:"user_id"`
	FatherURL   *string `sql_field:"father_path"`
	FileName    *string `sql_field:"file_name"`
	FileType    *string `sql_field:"file_type"`
	IsDel       *bool   `sql_field:"is_del"`
	IsProtected *bool   `sql_field:"is_protected"`
	FileURL     *string `sql_field:"file_url"`
	IsDir       *bool   `sql_field:"is_dir"`
}

Jump to

Keyboard shortcuts

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