model

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Directory

type Directory struct {
	ParentId uint32 `json:"parentId" gorm:"column:parent_id"`
	Name     string `json:"name" gorm:"column:name"`
	Accept   string `json:"accept" gorm:"column:accept"`
	MaxSize  uint32 `json:"maxSize" gorm:"column:max_size"`
	types.BaseModel
}

type DirectoryClosure

type DirectoryClosure struct {
	ID       uint32 `json:"id" gorm:"column:id"`
	Parent   uint32 `json:"parent" gorm:"column:parent"`
	Children uint32 `json:"children" gorm:"column:children"`
}

type Export

type Export struct {
	UserId       uint32  `json:"userId" gorm:"column:user_id"`
	DepartmentId uint32  `json:"departmentId" gorm:"column:department_id"`
	Scene        string  `json:"scene" gorm:"column:scene"`
	Name         string  `json:"name" gorm:"column:name"`
	Size         uint32  `json:"size" gorm:"column:size"`
	Sha          string  `json:"sha" gorm:"column:sha"`
	Src          string  `json:"src" gorm:"column:src"`
	Status       string  `json:"status" gorm:"column:status"`
	Reason       *string `json:"reason" gorm:"column:reason"`
	ExpiredAt    int64   `json:"expiredAt" gorm:"column:expired_at"`
	types.BaseModel
}

type File

type File struct {
	DirectoryId uint32 `json:"directoryId" gorm:"column:directory_id"`
	Name        string `json:"name" gorm:"column:name"`
	Type        string `json:"type" gorm:"column:type"`
	Size        uint32 `json:"size" gorm:"column:size"`
	Sha         string `json:"sha" gorm:"column:sha"`
	Key         string `json:"key" gorm:"column:key"`
	Src         string `json:"src" gorm:"column:src"`
	Status      string `json:"status" gorm:"column:status"`
	UploadId    string `json:"uploadId" gorm:"column:upload_id"`
	ChunkCount  uint32 `json:"chunkCount" gorm:"column:chunk_count"`
	types.BaseModel
}

Jump to

Keyboard shortcuts

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