ores.inbox.notification_channel

Table of Contents

Reference data table of the ways a person is reached: 'in_app' and 'mail'. A channel is a delivery of the same notification, not a different message.

Channels are managed by the system tenant.

1. Flags

2. Columns

2.1. code

Unique channel code.

Examples: 'in_app', 'mail'.

2.2. name

Human-readable name for the channel.

std::string(faker::word::noun()) + " Channel"

2.3. description

How the channel reaches a person.

std::string(faker::lorem::sentence())

2.4. display_order

Order for UI display purposes.

faker::number::integer(1, 100)

3. SQL

3.1. Flags

4. Validation function

5. C++

5.1. Flags

5.2. Repository

5.3. Domain includes

#include <string>

5.4. Entity includes

#include <string>

5.5. Conventions

5.6. Table display

column header
code Code
name Name
display_order Order
modified_by Modified By
version Version

5.7. Presentation

5.7.1. Detail fields

field label widget type is_key is_required placeholder
code Code codeEdit line_edit true true Enter channel code
name Name nameEdit line_edit   true Enter display name
description Description descriptionEdit text_edit     Enter a description

5.7.2. Columns

enum_name field header type width
Code code Code string 120
Name name Name string 200
Description description Description string 300
DisplayOrder display_order Order int 80
Version version Version int 80
ModifiedBy modified_by Modified By string 120
RecordedAt recorded_at Recorded At timestamp 150

5.8. Custom repository methods

6. See also

Emacs 29.3 (Org mode 9.6.15)