21 lines
970 B
Go
21 lines
970 B
Go
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
|
|
package model
|
|
|
|
const TableNameAiReportDailyCache = "ai_report_daily_cache"
|
|
|
|
// AiReportDailyCache mapped from table <ai_report_daily_cache>
|
|
type AiReportDailyCache struct {
|
|
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
|
|
CacheKey string `gorm:"column:cache_key;not null;default:1;comment:索引方式,可以是任意类型" json:"cache_key"` // 索引方式,可以是任意类型
|
|
Value string `gorm:"column:value;comment:类型下所需路由以及参数" json:"value"` // 类型下所需路由以及参数
|
|
CacheIndex string `gorm:"column:cache_index;not null;comment:类型" json:"cache_index"` // 类型
|
|
}
|
|
|
|
// TableName AiReportDailyCache's table name
|
|
func (*AiReportDailyCache) TableName() string {
|
|
return TableNameAiReportDailyCache
|
|
}
|