Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bill ¶
type Bill struct {
gorm.Model // 包含了ID, CreatedAt, UpdatedAt, DeletedAt
Fullname string `form:"fullname" json:"fullname"`
UmbrellaName string `form:"umbrella_name" json:"umbrella_name"`
BorrowAt string `form:"borrow_at" json:"borrow_at"`
ReturnAt string `form:"return_at" json:"return_at"`
DifferenceAt string `form:"difference_at" json:"difference_at"`
}
Bill 票据结构体 https://gorm.io/zh_CN/docs/models.html
type Umbrella ¶
type Umbrella struct {
gorm.Model // 包含了ID, CreatedAt, UpdatedAt, DeletedAt
UmbrellaName string `form:"umbrella_name" json:"umbrella_name"`
UmbrellaTag string `form:"umbrella_tag" json:"umbrella_tag"`
UmbrellaDescription string `form:"umbrella_description" json:"umbrella_description"`
Username string `form:"username" json:"username"`
Fullname string `form:"fullname" json:"fullname"`
BorrowAt string `form:"borrow_at" json:"borrow_at"`
ReturnAt string `form:"return_at" json:"return_at"`
DifferenceAt string `form:"difference_at" json:"difference_at"`
}
Umbrella 雨伞结构体 https://gorm.io/zh_CN/docs/models.html
type User ¶
type User struct {
gorm.Model // 包含了ID, CreatedAt, UpdatedAt, DeletedAt
Username string `form:"username" json:"username"`
Email string `form:"email" json:"email"`
Phone string `form:"phone" json:"phone"`
Password string `form:"password" json:"password"`
Fullname string `form:"fullname" json:"fullname"`
Rule string `form:"rule" json:"rule"`
}
User 用户结构体 https://gorm.io/zh_CN/docs/models.html
Click to show internal directories.
Click to hide internal directories.