add type_code into medicalactionsrc

This commit is contained in:
dpurbosakti
2025-10-17 13:06:49 +07:00
parent e83edc1d7a
commit 0ff8c571d0
3 changed files with 6 additions and 2 deletions
@@ -9,6 +9,7 @@ type MedicalActionSrc struct {
ecore.Main // adjust this according to the needs
Code string `json:"code" gorm:"unique;size:20"`
Name string `json:"name" gorm:"size:50"`
Type_Code string `json:"type_code" gorm:"size:20"`
Item_Id *uint `json:"item_id"`
Item *ei.Item `json:"item,omitempty" gorm:"foreignKey:Item_Id;references:Id"`
}