Discover Packages
github.com/rulanugrh/larissa
internal
entity
web
package
Version:
v0.0.0-...-56ff5f7
Opens a new window with list of versions in this module.
Published: Mar 29, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Kunjungan struct {
FName string `json:"fname"`
LName string `json:"lname"`
Age int `json:"age"`
Address string `json:"address"`
Penyakit []Penyakit `json:"penyakit"`
}
type Obat struct {
ID uint `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Price int `json:"price"`
QtyAvailable int `json:"qty_available"`
QtyReserved int `json:"qty_reserved"`
QtyOn int `json:"qty_on"`
Composition string `json:"composition"`
}
type ObatCreated struct {
ID uint `json:"id"`
Name string `json:"name"`
Description string `json:"string"`
Price int32 `json:"price"`
QtyAvailable uint8 `json:"qty_available"`
Composition string `json:"composition"`
}
type ObatUpdated struct {
ID uint `json:"id"`
Name string `json:"name"`
Description string `json:"string"`
Price int32 `json:"price"`
QtyAvailable uint8 `json:"qty_available"`
}
type Penyakit struct {
ID uint `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Obat []Obat `json:"obat"`
}
type PenyakitCreated struct {
ID uint `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
}
type Reported struct {
ID primitive .ObjectID `json:"_id,omitempty" bson:"_id,omitempty"`
Pengunjung string `json:"pengunjung" bson:"pengunjung"`
Age int `json:"age" bson:"age"`
Address string `json:"address" bson:"address"`
Category string `json:"category" bson:"category"`
}
type User struct {
ID uint `json:"id"`
Email string `json:"email"`
FName string `json:"fname"`
LName string `json:"lname"`
Age int `json:"age"`
Address string `json:"address"`
TTL time .Time `json:"ttl"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.