gophish/models/attachment.go

12 lines
278 B
Go
Raw Permalink Normal View History

package models
// Attachment contains the fields and methods for
// an email attachment
type Attachment struct {
Id int64 `json:"-"`
TemplateId int64 `json:"-"`
Content string `json:"content"`
Type string `json:"type"`
Name string `json:"name"`
}