|
7 | 7 | use Shopware\Core\Checkout\Customer\CustomerDefinition; |
8 | 8 | use Shopware\Core\Checkout\Order\OrderDefinition; |
9 | 9 | use Shopware\Core\Content\Flow\FlowDefinition; |
| 10 | +use Shopware\Core\Content\MailTemplate\MailTemplateDefinition; |
10 | 11 | use Shopware\Core\Defaults; |
11 | 12 | use Shopware\Core\Framework\DataAbstractionLayer\EntityDefinition; |
12 | 13 | use Shopware\Core\Framework\DataAbstractionLayer\Field\FkField; |
@@ -75,6 +76,9 @@ protected function defineFields(): FieldCollection |
75 | 76 | new FkField('flow_id', 'flowId', FlowDefinition::class), |
76 | 77 | new ManyToOneAssociationField('flow', 'flow_id', FlowDefinition::class, 'id', false), |
77 | 78 |
|
| 79 | + new FkField('mail_template_id', 'mailTemplateId', MailTemplateDefinition::class), |
| 80 | + new ManyToOneAssociationField('mailTemplate', 'mail_template_id', MailTemplateDefinition::class, 'id', false), |
| 81 | + |
78 | 82 | new FkField('source_mail_id', 'sourceMailId', self::class), |
79 | 83 | new ManyToOneAssociationField('sourceMail', 'source_mail_id', self::class, 'id', false), |
80 | 84 | new OneToManyAssociationField('sourceMails', self::class, 'sourceMailId'), |
|
0 commit comments