model

package
v0.0.0-...-e7ef0bd Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *gorm.DB

Functions

func Init

func Init()

Types

type User

type User struct {
	ID              int
	Username        string `gorm:"uniqueIndex"`
	RealName        string
	Password        string
	Email           string
	InstitutionName string
	Area            string
}

type UserConferenceRole

type UserConferenceRole struct {
	UserID       int    `gorm:"primaryKey"`
	ConferenceID int    `gorm:"primaryKey"`
	Role         string `gorm:"primaryKey"`
}

Jump to

Keyboard shortcuts

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