<aside>

</aside>

Table reminder_templates {
  id                  uuid                       [pk, note: 'ID mẫu reminder']
  name                varchar                    [not null, note: 'Tên dễ nhớ (e.g. "Nhắc trước 1 ngày")']
  resource_type       deadline_resource_type     [not null, note: 'Áp dụng cho loại deadline nào']
  offset              int                        [not null, note: 'Khoảng cách so với due_at']
  offset_unit         reminder_offset_unit       [not null, note: 'Đơn vị offset: minutes/hours/days']
  channel             reminder_channel           [not null, note: 'Kênh gửi: email/in_app/sms']
  is_active           bool       [default: true, note: 'Còn kích hoạt không?']
  created_at          timestamp  [default: `now()`]
  updated_at          timestamp  [default: `now()`]
}

Create Reminder Template Command

Update Reminder Template Command

Activate Reminder Template Command

Deactivate Reminder Template Command

Remove Reminder Template Command

Get Reminder Template Detail Query

List Reminder Templates Query

List Active Templates By Resource Type Query