app_version_models.go 631B

1234567891011121314151617
  1. package models
  2. type AppVersion struct {
  3. ID int64 `gorm:"column:id" json:"id" form:"id"`
  4. AppType int64 `gorm:"column:app_type" json:"app_type" form:"app_type"`
  5. Details string `gorm:"column:details" json:"details" form:"details"`
  6. Version string `gorm:"column:version" json:"version" form:"version"`
  7. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  8. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  9. Status int64 `gorm:"column:status" json:"status" form:"status"`
  10. Url string `gorm:"column:url" json:"url" form:"url"`
  11. }
  12. func (AppVersion) TableName() string {
  13. return "xt_app_version"
  14. }