bilibili-backup/app/service/main/up/model/archive.go

20 lines
356 B
Go
Raw Normal View History

2019-04-22 10:59:20 +08:00
package model
import (
"go-common/library/time"
)
//Archive for db.
type Archive struct {
ID int64 `json:"id"`
MID int64 `json:"mid"`
State int `json:"state"`
}
// AidPubTime aid's pubdate and copyright
type AidPubTime struct {
Aid int64 `json:"aid"`
PubDate time.Time `json:"pubdate"`
Copyright int8 `json:"copyright"`
}