change maxlength infragrup_code dto

This commit is contained in:
dpurbosakti
2025-10-08 14:38:54 +07:00
parent d7efbda32b
commit 3dbd640aac
+1 -1
View File
@@ -11,7 +11,7 @@ import (
type CreateDto struct {
Code string `json:"code" validate:"maxLength=10"`
Name string `json:"name" validate:"maxLength=50"`
InfraGroup_Code ero.InfraGroupCode `json:"infraGroup_code" validate:"maxLength=10"`
InfraGroup_Code ero.InfraGroupCode `json:"infraGroup_code" validate:"maxLength=15"`
Parent_Id *uint16 `json:"parent_id"`
Item_Id *uint `json:"item_id"`
Unit_Id *uint16 `json:"unit_id"`