feat (postal-code): add crud for postal-code
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user