26 lines
524 B
Go
26 lines
524 B
Go
package web
|
|
|
|
import (
|
|
tagmdl "go-common/app/interface/main/tag/model"
|
|
"go-common/app/service/main/archive/api"
|
|
)
|
|
|
|
// ChCard channel card .
|
|
type ChCard struct {
|
|
ID int64 `json:"-"`
|
|
Title string `json:"-"`
|
|
ChannelID int64 `json:"-"`
|
|
Type string `json:"-"`
|
|
Value int64 `json:"-"`
|
|
Reason string `json:"-"`
|
|
ReasonType int8 `json:"-"`
|
|
Pos int `json:"-"`
|
|
FromType string `json:"-"`
|
|
}
|
|
|
|
// Channel .
|
|
type Channel struct {
|
|
*tagmdl.Tag
|
|
Archives []*api.Arc `json:"archives"`
|
|
}
|