model

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Absensi

type Absensi struct {
	ID      primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Nama_mk Matakuliah         `bson:"nama_mk,omitempty" json:"nama_mk,omitempty"`
	Tanggal string             `bson:"tanggal,omitempty" json:"tanggal,omitempty"`
	Checkin string             `bson:"checkin,omitempty" json:"checkin,omitempty"`
}

type Mahasiswa

type Mahasiswa struct {
	ID       primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Nama_mhs string             `bson:"nama_mhs,omitempty" json:"nama_mhs,omitempty"`
	NPM      string             `bson:"npm,omitempty" json:"npm,omitempty"`
	Jurusan  string             `bson:"jurusan,omitempty" json:"jurusan,omitempty"`
	Email    string             `bson:"email,omitempty" json:"email,omitempty"`
}

type Matakuliah

type Matakuliah struct {
	ID             primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Nama_matkul    string             `bson:"nama_matkul,omitempty" json:"nama_matkul,omitempty"`
	SKS            string             `bson:"sks,omitempty" json:"sks,omitempty"`
	Dosen_pengampu string             `bson:"dosen_pengampu,omitempty" json:"dosen_pengampu,omitempty"`
	Email          string             `bson:"email,omitempty" json:"email,omitempty"`
}

type Nilai

type Nilai struct {
	ID          primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	NPM_ms      Mahasiswa          `bson:"npm_ms,omitempty" json:"npm_ms,omitempty"`
	Presensi    Absensi            `bson:"presensi,omitempty" json:"presensi,omitempty"`
	Nilai_akhir string             `bson:"nilai_akhir,omitempty" json:"nilai_akhir,omitempty"`
	Grade       string             `bson:"grade,omitempty" json:"grade,omitempty"`
}

type OrangTua

type OrangTua struct {
	ID           primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Nama_ortu    string             `bson:"nama_ortu,omitempty" json:"nama_ortu,omitempty"`
	Phone_number string             `bson:"phone_number,omitempty" json:"phone_number,omitempty"`
	Email        string             `bson:"email,omitempty" json:"email,omitempty"`
}

type User

type User struct {
	ID              primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Fullname        string             `bson:"fullname,omitempty" json:"fullname,omitempty"`
	Username        string             `bson:"username,omitempty" json:"username,omitempty"`
	Password        string             `bson:"password,omitempty" json:"password,omitempty"`
	Confirmpassword string             `bson:"confirmpass,omitempty" json:"confirmpass,omitempty"`
}

Jump to

Keyboard shortcuts

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