Documentation
¶
Index ¶
Constants ¶
View Source
const ResourceID = "Address"
Variables ¶
This section is empty.
Functions ¶
func AddSubResource ¶
func PrepareResource ¶
Types ¶
type Address ¶
type Address struct {
aorm.AuditedModel
Phones []Phone `aorm:"fkc:{field:AddressID;cascade}"`
ContactName string `aorm:"size:255"`
RegionID string `aorm:"size:10"`
Region *geocode.Region `aorm:"save_associations:false"`
AddressLine1 string `aorm:"size:255"`
AddressLine2 string `aorm:"size:255"`
AddressLine3 string `aorm:"size:255"`
AddressLine4 string `aorm:"size:255"`
Zip string `aorm:"size:32"`
}
func (Address) GetAormInlinePreloadFields ¶
type AddressGetter ¶
type AddressGetter interface {
GetQorAddress() *Address
}
Click to show internal directories.
Click to hide internal directories.