(screening): add file-url and status
This commit is contained in:
No files matched your search
@@ -5,6 +5,7 @@ import (
|
||||
eem "simrs-vx/internal/domain/main-entities/employee"
|
||||
|
||||
erc "simrs-vx/internal/domain/references/clinical"
|
||||
erco "simrs-vx/internal/domain/references/common"
|
||||
)
|
||||
|
||||
type Screening struct {
|
||||
@@ -13,5 +14,7 @@ type Screening struct {
|
||||
Employee_Id *uint `json:"employee_id"`
|
||||
Employee *eem.Employee `json:"employee,omitempty" gorm:"foreignKey:Employee_Id;references:Id"`
|
||||
Type erc.ScreeningFormTypeCode `json:"type"`
|
||||
Status erco.DataVerifiedCode `json:"status"`
|
||||
Value *string `json:"value"`
|
||||
FileUrl *string `json:"fileUrl" gorm:"size:1024"`
|
||||
}
|
||||
@@ -24,6 +24,7 @@ const (
|
||||
EPCLab EmployeePositionCode = "lab" // Laboran
|
||||
EPCPha EmployeePositionCode = "pha" // Farmasi
|
||||
EPCNom EmployeePositionCode = "nom" // Non Medic
|
||||
EPCScr EmployeePositionCode = "scr" // Screening MPP
|
||||
// EPCPay EmployeePositionCode = "pay" // Pembayaran
|
||||
// EPCHur EmployeePositionCode = "hue" // Sumber Daya Manusia
|
||||
// EPCGea EmployeePositionCode = "gea" // Bagian Umum
|
||||
|
||||
Reference in New Issue
Block a user