mirror of https://github.com/Xhofe/alist
17 lines
488 B
Go
17 lines
488 B
Go
package model
|
|
|
|
type Meta struct {
|
|
ID uint `json:"id" gorm:"primaryKey"`
|
|
Path string `json:"path" gorm:"unique" binding:"required"`
|
|
Password string `json:"password"`
|
|
PSub bool `json:"p_sub"`
|
|
Write bool `json:"write"`
|
|
WSub bool `json:"w_sub"`
|
|
Hide string `json:"hide"`
|
|
HSub bool `json:"h_sub"`
|
|
Readme string `json:"readme"`
|
|
RSub bool `json:"r_sub"`
|
|
Header string `json:"header"`
|
|
HeaderSub bool `json:"header_sub"`
|
|
}
|