Scripts
A Script is the database representation of the email template used
when blasting emails.
The table is defined like such:
type Script struct {
BaseModel
Keyword string `gorm:"not null;uniqueIndex:idx_associate_script"`
Subject string `gorm:"not null"`
Body string `gorm:"not null"`
FollowUpDays int `gorm:"not null"`
NextKeyword string
NewEmailOrReply string `gorm:"not null"`
AssetType AssetType
InquiryType InquiryType
AssociateID uint `gorm:"uniqueIndex:idx_associate_script"`
Associate Associate
BlastContacts []BlastContact
BlastUpdates []BlastUpdate
ScriptVariants []ScriptVariant
}