feat (postal-code): add crud for postal-code

This commit is contained in:
dpurbosakti
2025-10-09 12:49:19 +07:00
parent 935e5d780c
commit 9a68982afa
13 changed files with 720 additions and 9 deletions
@@ -5,3 +5,7 @@ type Basic struct {
Village_Code string `json:"village_code" gorm:"size:10"`
Code string `json:"code" gorm:"unique;size:5"`
}
func (Basic) TableName() string {
return "PostalCode"
}