assignmentdm

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 Assignment

type Assignment struct {
	AssignmentID   uint    `gorm:"primaryKey;autoIncrement" json:"AssignmentID"`
	AssignmentName string  `gorm:"type:varchar(64);not null" json:"AssignmentName"`
	Description    string  `gorm:"type:varchar(255)" json:"Description"`
	GradePoint     float64 `gorm:"type:integer;not null" json:"GradePoint"`
	ClassID        uint    `gorm:"type:bigint;not null" json:"ClassID"`

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

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

func (Assignment) TableName

func (a Assignment) TableName() string

Jump to

Keyboard shortcuts

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