step 8 : templ and handling submit except saran mcu
This commit is contained in:
19
models/surveymcu.models.go
Normal file
19
models/surveymcu.models.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package models
|
||||
|
||||
type SurveyMcu struct {
|
||||
DataListItemSurveyMcu []ItemSurveyMcu `json:"dataListItemSurveyMcu"`
|
||||
}
|
||||
|
||||
type ItemSurveyMcu struct {
|
||||
IDItemSurvey string `json:"iditemsurvey"`
|
||||
Nomor string `json:"nomor"`
|
||||
Pertanyaan string `json:"pertanyaan"`
|
||||
Jawaban bool `json:"jawaban"`
|
||||
NameRadioButton string `json:"nameradiobutton"`
|
||||
Checked string `json:"checked"`
|
||||
ErrorMessage string `json:"errorMessage"`
|
||||
}
|
||||
|
||||
type IdClearErrorMessage struct {
|
||||
IdItem string `json:"iditem"`
|
||||
}
|
||||
Reference in New Issue
Block a user