entity

package
v0.0.0-...-3591828 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	UserId       string `json:"user_id"`
	MessageCount int    `json:"message_count"`
}

type Role

type Role struct {
	RoleId   int    `json:"role_id"`
	RoleType string `json:"role_type"`
}

type Tag

type Tag struct {
	TagId   int    `json:"tag_id"`
	TagName string `json:"tag_name"`
	TagBody string `json:"tag_body"`
}

type User

type User struct {
	Id       string `json:"id"`
	Username string `json:"username"`
	Level    int    `json:"level"`
	RoleId   int    `json:"role_id"`
}

Jump to

Keyboard shortcuts

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