// 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 TableNameAppKeywordReply = "app_keyword_reply" // AppKeywordReply 关键字回复表 type AppKeywordReply 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 KeywordID int32 `gorm:"column:keyword_id;not null;comment:关联 app_keyword 表的ID" json:"keyword_id"` // 关联 app_keyword 表的ID IntervalSeconds int32 `gorm:"column:interval_seconds;not null;comment:时间间隔,单位为秒" json:"interval_seconds"` // 时间间隔,单位为秒 Type int32 `gorm:"column:type;not null;comment:类型(1:文本 2:图片 3:语音条 4:视频 5=小程序 6=地理位置 7=链接 8=GIF图 9=名片 10=文件 11=转人工)" json:"type"` // 类型(1:文本 2:图片 3:语音条 4:视频 5=小程序 6=地理位置 7=链接 8=GIF图 9=名片 10=文件 11=转人工) Content string `gorm:"column:content;not null;comment:内容" json:"content"` // 内容 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 AppKeywordReply's table name func (*AppKeywordReply) TableName() string { return TableNameAppKeywordReply }