model

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 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 Pendidikan

type Pendidikan struct {
	ID           primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	UserID       string             `bson:"userid,omitempty" json:"userid,omitempty"`
	Sekolah      string             `bson:"sekolah,omitempty" json:"sekolah,omitempty"`
	Lulusan      string             `bson:"lulusan,omitempty" json:"lulusan,omitempty"`
	Tahunmulai   string             `bson:"tahunmulai,omitempty" json:"tahunmulai,omitempty"`
	Tahunselesai string             `bson:"tahunselesai,omitempty" json:"tahunselesai,omitempty"`
}

type Pengalaman

type Pengalaman struct {
	ID           primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	UserID       string             `bson:"userid,omitempty" json:"userid,omitempty"`
	Perusahaan   string             `bson:"perusahaan,omitempty" json:"perusahaan,omitempty"`
	Jabatan      string             `bson:"jabatan,omitempty" json:"jabatan,omitempty"`
	Deskripsi    string             `bson:"deskripsi,omitempty" json:"deksripsi,omitempty"`
	Tahunmulai   string             `bson:"tahunmulai,omitempty" json:"tahunmulai,omitempty"`
	Tahunselesai string             `bson:"tahunselesai,omitempty" json:"tahunselesai,omitempty"`
}

type Profile

type Profile struct {
	Nama_user       string     `bson:"nama_user,omitempty" json:"nama_user,omitempty"`
	Data_pendidikan Pendidikan `bson:"data_pendidikan,omitempty" json:"data_pendidikan,omitempty"`
	Data_pengalaman Pengalaman `bson:"data_pengalaman,omitempty" json:"data_pengalaman,omitempty"`
	Skills          Skill      `bson:"skills,omitempty" json:"skills,omitempty"`
}

type Skill

type Skill struct {
	ID    primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Nama  string             `bson:"nama,omitempty" json:"nama,omitempty"`
	Level string             `bson:"level,omitempty" json:"level,omitempty"`
}

type User

type User struct {
	ID       primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
	Username string             `bson:"username,omitempty" json:"username,omitempty"`
	Email    string             `bson:"email,omitempty" json:"email,omitempty"`
	Password string             `bson:"password,omitempty" json:"password,omitempty"`
}

Jump to

Keyboard shortcuts

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