go-common/app/admin/main/appstatic/model/publish.go
2019-04-22 18:49:16 +08:00

20 lines
399 B
Go

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"
}