bilibili-backup/app/admin/main/appstatic/model/publish.go

20 lines
399 B
Go
Raw Normal View History

2019-04-22 10:59:20 +08:00
package model
// PubResp Response for publish interface
type PubResp struct {
CurrVer int64 `json:"curr_ver"`
DiffProd []int64 `json:"diff_prod"`
DiffTest []int64 `json:"diff_test"`
}
// Ver reprensents the already generated versions
type Ver struct {
FromVer int64
ID int64
}
// TableName gives the table name of the model
func (*Ver) TableName() string {
return "resource_file"
}