model

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Jul 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 Camaba

type Camaba struct {
	ID           primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Ktp          int                `bson:"ktp,omitempty" json:"ktp,omitempty"`
	Nama         string             `bson:"nama,omitempty" json:"nama,omitempty"`
	Phone_number string             `bson:"phone_number,omitempty" json:"phone_number,omitempty"`
	Address      string             `bson:"alamat,omitempty" json:"alamat,omitempty"`
}

type DaftarSekolah

type DaftarSekolah struct {
	ID           primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	KDSekolah    int                `bson:"kdsekolah,omitempty" json:"kdsekolah,omitempty"`
	Nama         string             `bson:"nama,omitempty" json:"nama,omitempty"`
	Phone_number string             `bson:"phone_number,omitempty" json:"phone_number,omitempty"`
	Address      string             `bson:"alamat,omitempty" json:"alamat,omitempty"`
}

type Jurusan

type Jurusan struct {
	ID        primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	KDJurusan string             `bson:"kdjurusan,omitempty" json:"kdjurusan,omitempty"`
	Nama      string             `bson:"nama,omitempty" json:"nama,omitempty"`
	Jenjang   string             `bson:"jenjang,omitempty" json:"jenjang,omitempty"`
}

type Pendaftaran

type Pendaftaran struct {
	ID              primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	KDPendaftar     int                `bson:"kdpendaftar,omitempty" json:"kdpendaftar,omitempty"`
	StatusPendaftar string             `bson:"statuspendaftar,omitempty" json:"statuspendaftar,omitempty"`
	Biodata         Camaba             `bson:"biodata,omitempty" json:"biodata,omitempty"`
	AsalSekolah     DaftarSekolah      `bson:"asalsekolah,omitempty" json:"asalsekolah,omitempty"`
	Jurusan         Jurusan            `bson:"jurusan,omitempty" json:"jurusan,omitempty"`
	Jalur           string             `bson:"jalur,omitempty" json:"jalur,omitempty"`
	AlUlbi          string             `bson:"alulbi,omitempty" json:"alulbi,omitempty"`
	AlJurusan       string             `bson:"aljurusan,omitempty" json:"aljurusan,omitempty"`
	CreatedAt       primitive.DateTime `bson:"created_at,omitempty" json:"created_at,omitempty"`
}

type Token added in v0.1.19

type Token struct {
	Token_String string `bson:"tokenstring,omitempty" json:"tokenstring,omitempty"`
}

type User added in v0.1.10

type User struct {
	ID              primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	FirstName       string             `bson:"firstname,omitempty" json:"firstname,omitempty"`
	LastName        string             `bson:"lastname,omitempty" json:"lastname,omitempty"`
	Email           string             `bson:"email,omitempty" json:"email,omitempty"`
	Password        string             `bson:"password,omitempty" json:"password,omitempty"`
	Confirmpassword string             `bson:"confirmpass,omitempty" json:"confirmpass,omitempty"`
	Salt            string             `bson:"salt,omitempty" json:"salt,omitempty"`
}

forlogin-signup

Jump to

Keyboard shortcuts

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