initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package models
|
||||
|
||||
type Book struct {
|
||||
Id int64
|
||||
TokenId string
|
||||
Title string
|
||||
Description string
|
||||
IconUrl string
|
||||
NamespaceId int64
|
||||
AccessPolicy int
|
||||
CreatedAt int64
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package models
|
||||
|
||||
type BookNode struct {
|
||||
Id int64
|
||||
TokenId string
|
||||
ParentId int64
|
||||
BookId int64
|
||||
Title string
|
||||
Type int
|
||||
Markdown BookNodeMarkdown
|
||||
}
|
||||
|
||||
type BookNodeMarkdown struct {
|
||||
Text string
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package models
|
||||
|
||||
type Namespace struct {
|
||||
Id int64
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package models
|
||||
|
||||
type User struct {
|
||||
Id int64
|
||||
Username string
|
||||
Password string
|
||||
Nickname string
|
||||
Status int
|
||||
CreatedAt int64
|
||||
UpdatedAt int64
|
||||
}
|
||||
Reference in New Issue
Block a user