lib/app/outgoingemailreceipt-helper...

15 lines
452 B
Go

package app
import "code.tnxs.net/taxnexus/lib/api/workflow/workflow_models"
func (obj *OutgoingEmailMessageReceipt) marshalToSwagger() *workflow_models.EmailMessage {
return &workflow_models.EmailMessage{
ID: obj.ID,
EmailMessageID: obj.EmailMessageID,
Status: obj.Status,
Subject: obj.Subject,
ToAddress: obj.ToAddress,
ValidatedFromAddress: obj.ValidatedFromAddress,
}
}