package models

import "github.com/a-h/templ"

type Bahan struct {
	T_BahanID                int    `db:"T_BahanID"`
	T_BahanT_SampleStationID int    `db:"T_BahanT_SampleStationID"`
	T_SampleStationID        int    `db:"T_SampleStationID"`
	T_SampleStationName      string `db:"T_SampleStationName"`
	T_BahanCode              string `db:"T_BahanCode"`
	T_BahanName              string `db:"T_BahanName"`
	T_BahanLangName          string `db:"T_BahanLangName"`
	T_BahanIsActive          string `db:"T_BahanIsActive"`
	T_BahanCreated           string `db:"T_BahanCreated"`
	T_BahanCreatedUserID     string `db:"T_BahanCreatedUserID"`
	T_BahanLastUpdated       string `db:"T_BahanLastUpdated"`
	T_BahanLastUpdatedUserID string `db:"T_BahanLastUpdatedUserID"`
	T_BahanDeleted           string `db:"T_BahanDeleted"`
	T_BahanDeletedUserID     string `db:"T_BahanDeletedUserID"`
}

type TmpSampleStation struct {
	T_SampleStationID   int    `db:"T_SampleStationID"`
	T_SampleStationName string `db:"T_SampleStationName"`
}

type BahanFormComponent struct {
	IDComponent  string
	Link         string
	HxTarget     string
	HxSwap       string
	HxInclude    string
	ModalID      string
	ModalTitle   string
	DialogBody   templ.Component
	DialogAction templ.Component
	ButtonCLose  templ.Component
}
