add t_pemeriksaan_entity
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
package installation
|
||||
package m_instalasi
|
||||
|
||||
type MInstalasi struct {
|
||||
No_Instalasi uint `json:"no_instalasi" gorm:"primaryKey;autoIncrement;column:no_instalasi"`
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package patient
|
||||
package m_pasien
|
||||
|
||||
import "time"
|
||||
|
||||
+3
-3
@@ -1,11 +1,11 @@
|
||||
package unit
|
||||
package m_poly
|
||||
|
||||
type MPloy struct {
|
||||
type MPoly struct {
|
||||
Kode uint `json:"kode" gorm:"primaryKey;autoIncrement;column:kode"`
|
||||
Nama string `json:"nama" gorm:"column:nama"`
|
||||
Jenispoly uint `json:"jenispoly" gorm:"column:jenispoly"`
|
||||
}
|
||||
|
||||
func (MPloy) TableName() string {
|
||||
func (MPoly) TableName() string {
|
||||
return "m_poly"
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package division
|
||||
package m_unit
|
||||
|
||||
type MUnit struct {
|
||||
KodeUnit uint `json:"kode_unit" gorm:"primaryKey;autoIncrement;column:kode_unit"`
|
||||
@@ -0,0 +1,27 @@
|
||||
package t_pemeriksaan_hist
|
||||
|
||||
import "time"
|
||||
|
||||
type TPemeriksaanHist struct {
|
||||
IdPemeriksaanHist uint `json:"id_pemeriksaanhist" gorm:"primaryKey;column:id_pemeriksaanhist"`
|
||||
Idxdaftar *uint `json:"idxdaftar" gorm:"column:idxdaftar"`
|
||||
Kdpoly *uint `json:"kdpoly" gorm:"column:kdpoly"`
|
||||
DokterPengonsul *uint `json:"dokter_pengonsul" gorm:"column:dokter_pengonsul"`
|
||||
DokterPenerima *uint `json:"dokter_penerima" gorm:"column:dokter_penerima"`
|
||||
StartKonsul *time.Time `json:"start_konsul" gorm:"column:start_konsul"`
|
||||
EndKonsul *time.Time `json:"end_konsul" gorm:"column:end_konsul"`
|
||||
UserKonsul *string `json:"user_konsul" gorm:"column:user_konsul;size:100"`
|
||||
TglEntriKonsul *time.Time `json:"tgl_entri_konsul" gorm:"column:tgl_entri_konsul"`
|
||||
IP *string `json:"ip" gorm:"column:ip;size:50"`
|
||||
UserPenerima *string `json:"user_penerima" gorm:"column:user_penerima;size:100"`
|
||||
MasukPoly *time.Time `json:"masuk_poly" gorm:"column:masuk_poly"`
|
||||
PerawatPenerima *uint `json:"perawat_penerima" gorm:"column:perawat_penerima"`
|
||||
StAktif *uint16 `json:"st_aktif" gorm:"column:st_aktif"`
|
||||
UserBatal *string `json:"user_batal" gorm:"column:user_batal;size:100"`
|
||||
TglBatal *time.Time `json:"tgl_batal" gorm:"column:tgl_batal"`
|
||||
IdxBillRajal *uint `json:"idxbillrajal" gorm:"column:idxbillrajal"`
|
||||
}
|
||||
|
||||
func (TPemeriksaanHist) TableName() string {
|
||||
return "t_pemeriksaan_hist"
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package encounter
|
||||
package t_pendaftaran
|
||||
|
||||
import "time"
|
||||
|
||||
Reference in New Issue
Block a user