feature add master kelainan

This commit is contained in:
Hanan Askarim
2024-05-24 08:31:10 +07:00
parent 53ad743616
commit 904279a048
16 changed files with 1023 additions and 856 deletions

View File

@@ -1,5 +1,7 @@
package models
import "github.com/a-h/templ"
type Kelainan struct {
Nomor string `db:"nomor"`
Mcu_KelainanGroupID int `db:"Mcu_KelainanGroupID"`
@@ -8,3 +10,19 @@ type Kelainan struct {
Mcu_KelainanGroupCreated string `db:"Mcu_KelainanGroupCreated"`
Mcu_KelainanGroupLastUpdated string `db:"Mcu_KelainanGroupLastUpdated"`
}
type KelainanFormComponent struct {
IDComponent string
Link string
HxTarget string
HxSwap string
HxInclude string
ModalID string
ModalTitle string
InputName CustomTextFieldv2Prm
InputCode CustomTextFieldv2Prm
InputID CustomTextFieldv2Prm
DialogBody templ.Component
DialogAction templ.Component
ButtonCLose templ.Component
}