feat/trx-order: mcu

- added inlcude on the McuOrder
- reuse deleted data on the McuOrderItem
- added scope on the McuOrder
This commit is contained in:
2025-11-01 16:19:47 +07:00
parent 9226decb38
commit e69fe7bbb1
7 changed files with 22 additions and 7 deletions

No files matched your search

@@ -9,5 +9,5 @@ type McuSrcCategory struct {
ecore.SmallMain // adjust this according to the needs
Code string `json:"code" gorm:"unique;size:20"`
Name string `json:"name" gorm:"size:50"`
Scope_Code *ere.CheckupScopeCode `json:"scope_code" gorm:"size:10"`
Scope_Code *ere.CheckupScopeCode `json:"scope_code" gorm:"index;size:10"`
}