18 lines
510 B
Go
18 lines
510 B
Go
|
package model
|
||
|
|
||
|
type Note struct {
|
||
|
ID int64 `json:"id"`
|
||
|
CreatedAt string `json:"created_at"`
|
||
|
UpdatedAt string `json:"updated_at"`
|
||
|
CreatorID int64 `json:"creator_id"`
|
||
|
X int64 `json:"x"`
|
||
|
Y int64 `json:"y"`
|
||
|
Width int64 `json:"width"`
|
||
|
Height int64 `json:"height"`
|
||
|
Version int64 `json:"version"`
|
||
|
IsActive bool `json:"is_active"`
|
||
|
PostID int64 `json:"post_id"`
|
||
|
Body string `json:"body"`
|
||
|
CreatorName string `json:"creator_name"`
|
||
|
}
|