model

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aboutnye

type Aboutnye struct {
	Pertanyaan string `bson:"pertanyaan" json:"pertanyaan"`
	Jawaban    string `bson:"jawaban" json:"jawaban"`
}

type Aboutsurat

type Aboutsurat struct {
	ID       primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Isi_satu string             `bson:"isi_satu,omitempty" json:"isi_satu,omitempty"`
	Isi_dua  string             `bson:"isi_dua,omitempty" json:"isi_dua,omitempty"`
	Image    string             `bson:"image,omitempty" json:"image,omitempty"`
}

type Abouttagih added in v0.0.2

type Abouttagih struct {
	ID      primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	IsiSatu string             `bson:"isisatu,omitempty" json:"isisatu,omitempty"`
	IsiDua  string             `bson:"isidua,omitempty" json:"isidua,omitempty"`
	Image   string             `bson:"image,omitempty" json:"image,omitempty"`
}

Tabel About

type Abouttt

type Abouttt struct {
	ID       primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Isi_satu string             `bson:"isi_satu,omitempty" json:"isi_satu,omitempty"`
	Isi_dua  string             `bson:"isi_dua,omitempty" json:"isi_dua,omitempty"`
	Image    string             `bson:"image,omitempty" json:"image,omitempty"`
}

type Alamatwoy added in v0.0.2

type Alamatwoy struct {
	ID           primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"`
	Name         string             `bson:"name,omitempty" json:"name,omitempty"`
	NPM          string             `bson:"npm,omitempty" json:"npm,omitempty"`
	EmailAddress string             `bson:"email_address,omitempty" json:"email_address,omitempty"`
}

struct untuk tabel Alamat

type Contacusnye

type Contacusnye struct {
	Phone_number string `bson:"phone_number" json:"phone_number"`
	Email        string `bson:"email" json:"email"`
}

type Dafdir added in v0.0.2

type Dafdir struct {
	ID         primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Datetime   primitive.DateTime `bson:"datetime,omitempty" json:"datetime,omitempty"`
	Keterangan string             `bson:"keterangan,omitempty" json:"keterangan,omitempty"`
	Kehadiran  string             `bson:"kehadiran,omitempty" json:"kehadiran,omitempty"`
}

type Dafpel added in v0.0.2

type Dafpel struct {
	ID         primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Datetime   primitive.DateTime `bson:"datetime,omitempty" json:"datetime,omitempty"`
	Keterangan string             `bson:"keterangan,omitempty" json:"keterangan,omitempty"`
	Poin       string             `bson:"poin,omitempty" json:"poin,omitempty"`
}

type Dashboardnye

type Dashboardnye struct {
	ID         primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Username   string             `bson:"Username" json:"Username"`
	Email      string             `bson:"Email" json:"Email"`
	Location   string             `bson:"Location" json:"Location"`
	Orders     string             `bson:"Orders" json:"Orders"`
	Lastorders string             `bson:"Lastorders" json:"Lastorders"`
	Totalspent string             `bson:"Totalspent" json:"Totalspent"`
	Sks        string             `bson:"Sks" json:"Sks"`
}

type DataComplainhd

type DataComplainhd struct {
	ID         primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Sistemcomp string             `bson:"sistemcomp,omitempty" json:"sistemcomp,omitempty"`
	Status     string             `bson:"status,omitempty" json:"status,omitempty"`
	Biodata    Userhd             `bson:"user,omitempty" json:"user,omitempty"`
}

type Dosenye

type Dosenye struct {
	Nama      string `bson:"nama" json:"nama"`
	Jabatan   string `bson:"Jabatan" json:"Jabatan"`
	Noted     string `bson:"Noted" json:"Noted"`
	Img_dosen string `bson:"img_dosen" json:"img_dosen"`
}

type Helperhd

type Helperhd struct {
	ID        primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Helpid    string             `bson:"helpid,omitempty" json:"helpid,omitempty"`
	Username  string             `bson:"username,omitempty" json:"username,omitempty"`
	Nama      string             `bson:"nama,omitempty" json:"nama,omitempty"`
	Email     string             `bson:"email,omitempty" json:"email,omitempty"`
	Handphone string             `bson:"handphone,omitempty" json:"handphone,omitempty"`
}

type Honor

type Honor struct {
	ID      primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Nama    string             `bson:"nama" json:"nama"`
	Status  string             `bson:"status" json:"status"`
	Jabatan string             `bson:"jabatan" json:"jabatan"`
	Gaji    string             `bson:"gaji" json:"gaji"`
}

type Job

type Job struct {
	Namajob string `bson:"namajob" json:"namajob"`
}

type JumlahComplainhd

type JumlahComplainhd struct {
	Tahun  string `bson:"tahun,omitempty" json:"tahun,omitempty"`
	Bulan  string `bson:"bulan,omitempty" json:"bulan,omitempty"`
	Jumlah string `bson:"jumlah,omitempty" json:"jumlah,omitempty"`
}

type Jurusanwoy added in v0.0.2

type Jurusanwoy struct {
	ID      primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"`
	Name    string             `bson:"name,omitempty" json:"name,omitempty"`
	NPM     string             `bson:"npm,omitempty" json:"npm,omitempty"`
	Jurusan string             `bson:"jurusan,omitempty" json:"jurusan,omitempty"`
}

struct untuk tabel Jurusan

type Karyawan

type Karyawan struct {
	ID      primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Nama    string             `bson:"nama" json:"nama"`
	Status  string             `bson:"status" json:"status"`
	Jabatan string             `bson:"jabatan" json:"jabatan"`
	Gaji    string             `bson:"gaji" json:"gaji"`
}

type Kategorisurat

type Kategorisurat struct {
	ID           primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"`
	NamaKategori string             `bson:"nama_kategori" json:"nama_kategori"`
	Surat        []Surat            `bson:"surat" json:"surat"`
}

type Kursus

type Kursus struct {
	ID             primitive.ObjectID `bson:"_id,omitempty" json:"id"`
	Nama_kursus    string             `bson:"nama_kursus" json:"nama_kursus"`
	Jenjang_kursus string             `bson:"jenjang_kursus" json:"jenjang_kursus"`
	Pengajar       string             `bson:"pengajar" json:"pengajar"`
}

type Lokasisurat

type Lokasisurat struct {
	ID     primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Region string             `bson:"region,omitempty" json:"region,omitempty"`
}

type Mahasiswanye

type Mahasiswanye struct {
	Nama_mhs   string `bson:"Nama_mhs" json:"Nama_mhs"`
	Email_mhs  string `bson:"email_mhs" json:"email_mhs"`
	Gambar_mhs string `bson:"gambar_mhs" json:"gambar_mhs"`
}

type Mahasiswawoylah added in v0.0.2

type Mahasiswawoylah struct {
	ID           primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"`
	Name         string             `bson:"name,omitempty" json:"name,omitempty"`
	NPM          string             `bson:"npm,omitempty" json:"npm,omitempty"`
	Alamat       string             `bson:"alamat,omitempty" json:"alamat,omitempty"`
	EmailAddress string             `bson:"email_address,omitempty" json:"email_address,omitempty"`
}

struct untuk tabel Mahasiswa

type NPMwoylah added in v0.0.2

type NPMwoylah struct {
	ID           primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"`
	Name         string             `bson:"name,omitempty" json:"name,omitempty"`
	EmailAddress string             `bson:"email_address,omitempty" json:"email_address,omitempty"`
	Alamat       string             `bson:"alamat,omitempty" json:"alamat,omitempty"`
}

struct untuk tabel NPM

type Nilaisis added in v0.0.2

type Nilaisis struct {
	ID     primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Matpel string             `bson:"matpel,omitempty" json:"matpel,omitempty"`
	Kkm    string             `bson:"kkm,omitempty" json:"kkm,omitempty"`
	Grade  string             `bson:"grade,omitempty" json:"grade,omitempty"`
}

type Nilaiwoy added in v0.0.2

type Nilaiwoy struct {
	ID         primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"`
	Name       string             `bson:"name,omitempty" json:"name,omitempty"`
	NPM        string             `bson:"npm,omitempty" json:"npm,omitempty"`
	Sejarah    float32            `bson:"sejarah,omitempty" json:"sejarah,omitempty"`
	Matematika float32            `bson:"matematika,omitempty" json:"matematika,omitempty"`
	Inggris    float32            `bson:"inggris,omitempty" json:"inggris,omitempty"`
	Pkn        float32            `bson:"pkn,omitempty" json:"pkn,omitempty"`
}

struct untuk tabel Nilai

type Pelanggantagih added in v0.0.2

type Pelanggantagih struct {
	ID        primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"`
	Nama      string             `bson:"nama,omitempty" json:"nama,omitempty"`
	Alamat    string             `bson:"alamat,omitempty" json:"alamat,omitempty"`
	NoTelepon string             `bson:"no_telepon,omitempty" json:"no_telepon,omitempty"`
	Email     string             `bson:"email,omitempty" json:"email,omitempty"`
}

Tabel Pelanggan

type Pembayarandaps

type Pembayarandaps struct {
	ID          primitive.ObjectID `bson:"_id,omitempty" json:"id"`
	Datetime    primitive.DateTime `bson:"tanggal" json:"tanggal"`
	Status      string             `bson:"status" json:"status"`
	Total_bayar string             `bson:"total_bayar,omitempty" json:"total_bayar,omitempty"`
}

type Pembayaransis added in v0.0.2

type Pembayaransis struct {
	ID         primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Datetime   primitive.DateTime `bson:"datetime,omitempty" json:"datetime,omitempty"`
	Keterangan string             `bson:"keterangan,omitempty" json:"keterangan,omitempty"`
	Status     string             `bson:"status,omitempty" json:"status,omitempty"`
}

type Pembayarantagih added in v0.0.2

type Pembayarantagih struct {
	ID                primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"`
	IDTagihan         primitive.ObjectID `bson:"id_tagihan,omitempty" json:"id_tagihan,omitempty"`
	TanggalPembayaran string             `bson:"tanggal_pembayaran,omitempty" json:"tanggal_pembayaran,omitempty"`
	JumlahPembayaran  string             `bson:"jumlah_pembayaran,omitempty" json:"jumlah_pembayaran,omitempty"`
	MetodePembayaran  string             `bson:"metode_pembayaran,omitempty" json:"metode_pembayaran,omitempty"`
}

Tabel Pembayaran

type Pendaftaran

type Pendaftaran struct {
	ID         primitive.ObjectID `bson:"_id,omitempty" json:"id"`
	Nis        string             `bson:"nis" json:"nis"`
	Nik        string             `bson:"nik" json:"nik"`
	Nama_siswa string             `bson:"nama_siswa" json:"nama_siswa"`
}

type Pengumuman

type Pengumuman struct {
	ID            primitive.ObjectID `bson:"_id,omitempty" json:"id"`
	Hasil_seleksi string             `bson:"hasil_seleksi" json:"hasil_seleksi"`
	Nilai         string             `bson:"nilai" json:"nilai"`
	Program       string             `bson:"program" json:"program"`
}

type Produktagih added in v0.0.2

type Produktagih struct {
	ID          primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"`
	NamaProduk  string             `bson:"nama_produk,omitempty" json:"nama_produk,omitempty"`
	HargaProduk string             `bson:"harga_produk,omitempty" json:"harga_produk,omitempty"`
}

Tabel Produk

type ProfilU added in v0.0.3

type ProfilU struct {
	ID        primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	UserID    primitive.ObjectID `bson:"user_id,omitempty" json:"user_id,omitempty"`
	Gambar    string             `bson:"gambar,omitempty" json:"gambar,omitempty"`
	Bio       string             `bson:"bio,omitempty" json:"bio,omitempty"`
	Alamat    string             `bson:"alamat,omitempty" json:"alamat,omitempty"`
	Pekerjaan string             `bson:"pekerjaan,omitempty" json:"pekerjaan,omitempty"`
}

type Returnsurat

type Returnsurat struct {
	Status     string `bson:"status,omitempty" json:"status,omitempty"`
	Message    string `bson:"message,omitempty" json:"message,omitempty"`
	InsertedID string `bson:"insertedid,omitempty" json:"insertedid,omitempty"`
}

type Surat

type Surat struct {
	ID       primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"`
	Isisurat string             `bson:"isisurat" json:"isisurat"`
	Subject  string             `bson:"subject" json:"subject"`
}

type Tagihan added in v0.0.2

type Tagihan struct {
	ID               primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"`
	IDPelanggan      primitive.ObjectID `bson:"id_pelanggan,omitempty" json:"id_pelanggan,omitempty"`
	TanggalTagihan   string             `bson:"tanggal_tagihan,omitempty" json:"tanggal_tagihan,omitempty"`
	TotalTagihan     string             `bson:"total_tagihan,omitempty" json:"total_tagihan,omitempty"`
	StatusPembayaran string             `bson:"status_pembayaran,omitempty" json:"status_pembayaran,omitempty"`
}

Tabel Tagihan

type TanggalProfilU added in v0.0.3

type TanggalProfilU struct {
	Tahun  string `bson:"tahun,omitempty" json:"tahun,omitempty"`
	Bulan  string `bson:"bulan,omitempty" json:"bulan,omitempty"`
	Jumlah string `bson:"jumlah,omitempty" json:"jumlah,omitempty"`
}

type Team

type Team struct {
	ID        primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Nama      string             `bson:"nama" json:"nama"`
	Deskripsi string             `bson:"deskripsi" json:"deskripsi"`
}

type UserProfil added in v0.0.3

type UserProfil struct {
	ID       primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Email    string             `bson:"email,omitempty" json:"email,omitempty"`
	Password string             `bson:"password,omitempty" json:"password,omitempty"`
	Nama     string             `bson:"nama,omitempty" json:"nama,omitempty"`
}

type UserSurat

type UserSurat struct {
	ID      primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"`
	Nama    string             `bson:"nama" json:"nama"`
	Email   string             `bson:"email" json:"email"`
	Telepon string             `bson:"telepon" json:"telepon"`
}

type Userdaps

type Userdaps struct {
	ID     primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"`
	Nama   string             `bson:"nama" json:"nama"`
	Gender string             `bson:"gender" json:"gender"`
	Email  string             `bson:"email" json:"email"`
	No_hp  string             `bson:"nohp" json:"nohp"`
}

type Userhd

type Userhd struct {
	ID        primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Nama      string             `bson:"nama,omitempty" json:"nama,omitempty"`
	Email     string             `bson:"email,omitempty" json:"email,omitempty"`
	Handphone string             `bson:"handphone,omitempty" json:"handphone,omitempty"`
}

Jump to

Keyboard shortcuts

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