model

package
v0.0.0-...-3b276ab Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatExtend

type ChatExtend struct {
	Content  string `gorm:"column:content"`
	SenderId int64  `gorm:"column:sender"`
}

type Message

type Message struct {
	ID        int64     `gorm:"primaryKey;column:id"`
	CreatedAt time.Time `gorm:"column:create_time"`
	ChatId    int64     `gorm:"column:chat_id"`
	Content   string    `gorm:"column:content"`
	SenderId  int64     `gorm:"column:sender"`
}

type User

type User struct {
	Id              int64
	Name            string
	FollowCount     int64
	FollowerCount   int64
	Avatar          string
	BackgroundImage string
	Signature       string
	TotalFavorited  int64
	WorkCount       int64
	FavoriteCount   int64
}

Jump to

Keyboard shortcuts

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