model

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SystemInfo added in v1.0.0

type SystemInfo struct {
	Id         uint   `db:"id" json:"id"`
	Key        string `db:"key" json:"key"`
	Value      string `db:"value" json:"value"`
	UpdateTime string `db:"update_time" json:"update_time"`
}

type Users

type Users struct {
	Id           uint    `db:"id" json:"id"`
	Username     string  `db:"username" json:"username"`
	Password     string  `db:"password" json:"password"`
	PasswordShow string  `db:"passwordShow" json:"passwordShow"`
	Quota        int     `db:"quota" json:"quota"`
	Download     uint    `db:"download" json:"download"`
	Upload       uint    `db:"upload" json:"upload"`
	UseDays      *int    `db:"useDays" json:"useDays"`
	ExpiryDate   *string `db:"expiryDate" json:"expiryDate"`
}

可能为null的字段, 用指针

Jump to

Keyboard shortcuts

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