You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
476 B

package attention
import "github.com/golangkit/formatime"
type Info struct {
ID uint `gorm:"column:id;primary_key" json:"id"`
UserId uint `gorm:"column:user_id" json:"userId"`
FollowId uint `gorm:"column:follow_id" json:"desc"`
CreatedAt formatime.Second `gorm:"column:created_at" json:"-"`
}
// TableName sets the insert table name for this struct type
func (*Info) TableName() string {
return "recook_attention_info"
}