Documentation
¶
Index ¶
Constants ¶
View Source
const OBJECT_NAME_RECIPEINT string = "Recipient"
View Source
const TABLE_NAME_RECIPEINT string = "recipients"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Recipient ¶
type Recipient struct {
*database.PowerPivot
Email string `gorm:"column:email" json:"email"`
Phone string `gorm:"column:phone" json:"phone"`
//common fields
OwnerID object.NullString `gorm:"column:owner_id;not null;index:owner_id" json:"ownerID"`
OwnerType string `gorm:"column:owner_type" json:"ownerType"`
}
func NewRecipient ¶
func NewRecipient(mapObject *object.Collection) *Recipient
func (*Recipient) GetForeignKey ¶
func (*Recipient) GetPrimaryKey ¶
func (*Recipient) GetTableName ¶
Click to show internal directories.
Click to hide internal directories.