Files
simrsx-be/internal/domain/main-entities/person-address/entity.go
T
2025-10-08 10:16:21 +07:00

16 lines
478 B
Go

package personaddress
import (
ecore "simrs-vx/internal/domain/base-entities/core"
)
type PersonAddress struct {
ecore.Main // adjust this according to the needs
Person_Id uint `json:"person_id"`
Address string `json:"address" gorm:"size:150"`
Rt string `json:"rt" gorm:"size:2"`
Rw string `json:"rw" gorm:"size:2"`
PostalCode string `json:"postalCode" gorm:"size:6"`
Village_Code string `json:"village_code" gorm:"size:10"`
}