gradedm

package
v0.0.0-...-e8a9512 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2023 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 Grade

type Grade struct {
	GradeID          uint64  `gorm:"primaryKey;autoIncrement" json:"GradeID"`
	AssignmentID     uint64  `gorm:"type:bigint;not null" json:"AssignmentID"`
	GradeStructureID uint64  `gorm:"type:bigint;not null" json:"GradeStructureID"`
	StudentID        uint64  `gorm:"type:bigint;not null" json:"StudentID"`
	Mark             float64 `gorm:"type:integer;not null" json:"Mark"`
	Remark           string  `gorm:"type:varchar(255)" json:"Remark"`

	CreatedAt time.Time
	UpdatedAt time.Time
	CreatedBy string
	UpdatedBy string

	DeletedAt gorm.DeletedAt `gorm:"index" json:"DeletedAt"`
}

func (Grade) TableName

func (g Grade) TableName() string

type GradeStructure

type GradeStructure struct {
	GradeStructureID uint64 `gorm:"primaryKey;autoIncrement" json:"GradeStructureID"`
	Type             string `gorm:"type:varchar(64);not null" json:"Type"`
	ClassID          uint64 `gorm:"not null" json:"ClassID"`
	GradeName        string `gorm:"type:varchar(64);not null" json:"GradeName"`
	GradeScale       string `gorm:"type:varchar(64);not null" json:"GradeScale"`
	Position         string `gorm:"type:varchar(64);not null" json:"Position"`

	CreatedAt time.Time
	UpdatedAt time.Time
	CreatedBy string
	UpdatedBy string

	DeletedAt gorm.DeletedAt `gorm:"index" json:"DeletedAt"`
}

func (GradeStructure) TableName

func (g GradeStructure) TableName() string

Jump to

Keyboard shortcuts

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