model

package
v0.0.0-...-7329380 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppCategory

type AppCategory struct {
	ID           int64  `gorm:"primary_key;not_null;auto_increment"`
	CategoryName string `json:"category_name"`
}

type AppComment

type AppComment struct {
	ID               int64  `gorm:"primary_key;not_null;auto_increment"`
	AppID            int64  `json:"app_id"`
	AppCommentTitle  string `json:"app_comment_title"`
	AppCommentDetail string `json:"app_comment_detail"`
	AppUserID        int64  `json:"app_user_id"`
}

云应用评论

type AppImage

type AppImage struct {
	ID    int64 `gorm:"primary_key;not_null;auto_increment"`
	AppID int64 `json:"app_id"`
	//图片地址
	AppImageSrc string `json:"app_image_src"`
}

云引用图片

type AppIsv

type AppIsv struct {
	ID           int64  `gorm:"primary_key;not_null;auto_increment"`
	AppIsvName   string `json:"app_isv_name"`
	AppIsvDetail string `json:"app_isv_detail"`
}

服务商

type AppMiddle

type AppMiddle struct {
	ID          int64 `gorm:"primary_key;not_null;auto_increment"`
	AppID       int64 `json:"app_id"`
	AppMiddleID int64 `json:"app_middle_id"`
}

type AppPod

type AppPod struct {
	ID       int64 `gorm:"primary_key;not_null;auto_increment"`
	AppID    int64 `json:"app_id"`
	AppPodID int64 `json:"app_pod_id"`
}

type AppStore

type AppStore struct {
	ID int64 `gorm:"primary_key;not_null;auto_increment"`
	//应用的标识
	AppSku string `gorm:"unique_index;not null" json:"app_sku"`
	//应用标题
	AppTitle string `json:"app_title"`
	//应用描述
	AppDetail string `json:"app_detail"`
	//应用价格
	AppPrice float32 `json:"app_price"`
	//安装次数
	AppInstall int64 `json:"app_install"`
	//访问次数
	AppViews int64 `json:"app_views"`
	//应用审核
	AppCheck bool `json:"app_check"`
	//应用分类
	AppCategoryID int64 `json:"app_category_id"`
	//服务商
	AppIsvID int64 `json:"app_isv_id"`
	//应用图片
	AppImage []AppImage `gorm:"ForeignKey:AppID" json:"app_image"`
	//应用组合,应用的模板
	AppPod []AppPod `gorm:"ForeignKey:AppID" json:"app_pod"`
	//中间件组合
	AppMiddle []AppMiddle `gorm:"ForeignKey:AppID" json:"app_middle"`
	//存储组合
	AppVolume []AppVolume `gorm:"ForeignKey:AppID" json:"app_volume"`
	//评论
	AppComment []AppComment `gorm:"ForeignKey:AppID" json:"app_comment"`
}

应用市场

type AppVolume

type AppVolume struct {
	ID          int64 `gorm:"primary_key;not_null;auto_increment"`
	AppID       int64 `json:"app_id"`
	AppVolumeID int64 `json:"app_volume_id"`
}

云应用存储模板

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL