28 lines
1.3 KiB
Go
28 lines
1.3 KiB
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
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
const TableNameAppKeyword = "app_keyword"
|
|
|
|
// AppKeyword 关键字表
|
|
type AppKeyword struct {
|
|
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键ID" json:"id"` // 主键ID
|
|
AppID string `gorm:"column:app_id;not null;comment:小程序ID" json:"app_id"` // 小程序ID
|
|
Keyword string `gorm:"column:keyword;not null;comment:关键字" json:"keyword"` // 关键字
|
|
CreatedUser string `gorm:"column:created_user;not null;comment:创建人" json:"created_user"` // 创建人
|
|
CreatedAt time.Time `gorm:"column:created_at;not null;default:CURRENT_TIMESTAMP;comment:创建时间" json:"created_at"` // 创建时间
|
|
UpdatedUser string `gorm:"column:updated_user;not null;comment:更新人" json:"updated_user"` // 更新人
|
|
UpdatedAt time.Time `gorm:"column:updated_at;not null;default:CURRENT_TIMESTAMP;comment:更新时间" json:"updated_at"` // 更新时间
|
|
}
|
|
|
|
// TableName AppKeyword's table name
|
|
func (*AppKeyword) TableName() string {
|
|
return TableNameAppKeyword
|
|
}
|