models

package
v0.0.0-...-aa33ef3 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 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 Student

type Student struct {
	UUID     uuid.UUID `gorm:"primary_key" json:"uuid"`
	Email    string    `gorm:"size:255;not null;" json:"email"`
	Password string    `gorm:"size:255;not null;" json:"password"`
	Name     string    `gorm:"size:255;not null;" json:"name"`
	RegNo    string    `gorm:"size:255;not null;" json:"regno"`
}

type StudentData

type StudentData struct {
	UUID  uuid.UUID `gorm:"primary_key" json:"uuid"`
	Email string    `gorm:"size:255;not null;" json:"email"`
	Name  string    `gorm:"size:255;not null;" json:"name"`
	RegNo string    `gorm:"size:255;not null;" json:"regno"`
}

type StudentLogin

type StudentLogin struct {
	Email    string `json:"email"`
	Password string `json:"password"`
}

type StudentReg

type StudentReg struct {
	Email    string `json:"email"`
	Password string `json:"password"`
	Name     string `json:"name"`
	RegNo    string `json:"regno"`
}

Jump to

Keyboard shortcuts

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