models

package
v0.0.0-...-4cc5237 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Course

type Course struct {
	gorm.Model
	ID          uint
	Course_ID   string
	Course_code string
	Course_name string
}

type Tutor

type Tutor struct {
	gorm.Model
	ID         uint
	Tutor_name string
}

type User

type User struct {
	gorm.Model
	ID            uint
	First_name    string
	Last_name     string
	Password      string
	Email         string
	Token         sql.NullString
	User_type     string
	Refresh_token sql.NullString
	V_key         sql.NullString
	Verified      int
	Created_at    sql.NullTime
	Updated_at    sql.NullTime
}

Jump to

Keyboard shortcuts

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