<entity entity-name="NotificationGatewayConfig" package="com.pythys.notifiaction">
<field name="notificationGatewayConfigId" type="id" is-pk="true" />
<field name="notifactionGatewayTypeEnumId" type="id" />
<field name="description" type="text-medium" />
<field name="initServiceName" type="text-medium" />
<field name="sendServiceName" type="text-medium" />
<relationship type="one" related="moqui.basic.Enumeration" short-alias="notificationGatewayType">
<key-map field-name="notifactionGatewayTypeEnumId" related="enumId" />
</relationship>
</entity>
<entity entity-name="ProductStoreNotificationGateway" package="com.pythys.notifiaction">
<field name="productStoreId" type="id" is-pk="true" />
<field name="notificationGatewayConfigId" type="id" />
<relationship type="one" related="com.pythys.notifiaction.NotificationGatewayConfig" short-alias="notificationGatewayConfig">
<key-map field-name="notificationGatewayConfigId" />
</relationship>
</entity>
I designed a Notification gateway entity similar to paymentGateway entity. I would appreciate any suggestions you have for the above entity.
Now I want to send push notifications based on status updates. There will be a title and dynamic description with the current status. Similar to the email template entity where we are storing the subject for email subject.
Can anyone give me suggestions on how I should design the entity? Alternatively, if there is an existing entity that meets the above requirements, please let me know.
Thank you