models

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Heregistrasi

type Heregistrasi struct {
	Id          primitive.ObjectID `json:"id,omitempty" bson:"_id,omitempty"`
	Nisn        string             `json:"nisn" bson:"nisn" validate:"required"`
	Nama        string             `json:"nama" bson:"nama" validate:"required"`
	AsalSekolah string             `json:"asal_sekolah" bson:"asal_sekolah" validate:"required"`
	Alamat      string             `json:"alamat" bson:"alamat" validate:"required"`
	Provinsi    string             `json:"provinsi" bson:"provinsi" validate:"required"`
}

type Ipa

type Ipa struct {
	Biologi string `json:"biologi" bson:"biologi" validate:"required"`
	Fisika  string `json:"fisika" bson:"fisika" validate:"required"`
	Kimia   string `json:"kimia" bson:"kimia" validate:"required"`
}

type Ips

type Ips struct {
	Ekonomi   string `json:"ekonomi" bson:"ekonomi" validate:"required"`
	Geografi  string `json:"geografi" bson:"geografi" validate:"required"`
	Sejarah   string `json:"sejarah" bson:"sejarah" validate:"required"`
	Sosiologi string `json:"sosiologi" bson:"sosiologi" validate:"required"`
}

type Mahasiswa

type Mahasiswa struct {
	Id        primitive.ObjectID `json:"id,omitempty" bson:"_id,omitempty"`
	Nama      string             `json:"nama" bson:"nama" validate:"required"`
	Npm       string             `json:"npm" bson:"npm" validate:"required"`
	Ipk       string             `json:"ipk" bson:"ipk" validate:"required"`
	Kelas     string             `json:"kelas" bson:"kelas" validate:"required"`
	Kelulusan string             `json:"kelulusan" bson:"kelulusan" validate:"required"`
}

type NilaiRaport

type NilaiRaport struct {
	Matematika      string    `json:"matematika" bson:"matematika" validate:"required"`
	BahasaIndonesia string    `json:"b_indo" bson:"b_indo" validate:"required"`
	BahasaInggris   string    `json:"b_ing" bson:"b_ing" validate:"required"`
	Peminatan       Peminatan `bson:"peminatan,omitempty"`
}

type Peminatan

type Peminatan struct {
	Ipa Ipa `bson:"ipa,omitempty"`
	Ips Ips `bson:"ips,omitempty"`
}

Jump to

Keyboard shortcuts

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