2020-10-16 19:12:53 +02:00
|
|
|
package model
|
|
|
|
|
2020-10-22 15:22:36 +02:00
|
|
|
// Block is the basic data unit.
|
2020-10-16 19:12:53 +02:00
|
|
|
type Block struct {
|
|
|
|
ID string `json:"id"`
|
|
|
|
ParentID string `json:"parentId"`
|
|
|
|
Schema int64 `json:"schema"`
|
|
|
|
Type string `json:"type"`
|
|
|
|
Title string `json:"title"`
|
|
|
|
Fields map[string]interface{} `json:"fields"`
|
|
|
|
CreateAt int64 `json:"createAt"`
|
|
|
|
UpdateAt int64 `json:"updateAt"`
|
|
|
|
DeleteAt int64 `json:"deleteAt"`
|
|
|
|
}
|