package models

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

type NatUnit struct {
	Nomor               string `db:"nomor"`
	Nat_UnitID          int    `db:"Nat_UnitID"`
	Nat_UnitCode        string `db:"Nat_UnitCode"`
	Nat_UnitName        string `db:"Nat_UnitName"`
	Nat_UnitCreated     string `db:"Nat_UnitCreated"`
	Nat_UnitLastUpdated string `db:"Nat_UnitLastUpdated"`
	Nat_UnitIsActive    string `db:"Nat_UnitIsActive"`
}

type NatUnitFormComponent 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
}
