mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 18:35:11 +08:00
33c68b28b6
Co-authored-by: Alan Guo Xiang Tan <gxtan1990@gmail.com>
22 lines
597 B
Ruby
22 lines
597 B
Ruby
# frozen_string_literal: true
|
|
|
|
class UserNotificationScheduleSerializer < ApplicationSerializer
|
|
attributes :id,
|
|
:user_id,
|
|
:enabled,
|
|
:day_0_start_time,
|
|
:day_0_end_time,
|
|
:day_1_start_time,
|
|
:day_1_end_time,
|
|
:day_2_start_time,
|
|
:day_2_end_time,
|
|
:day_3_start_time,
|
|
:day_3_end_time,
|
|
:day_4_start_time,
|
|
:day_4_end_time,
|
|
:day_5_start_time,
|
|
:day_5_end_time,
|
|
:day_6_start_time,
|
|
:day_6_end_time
|
|
end
|