Skip to content

@sourceloop/notification-service / Exports / UserNotificationSettings

Class: UserNotificationSettings

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

new UserNotificationSettings(data?)

Parameters

Name Type
data? Partial<UserNotificationSettings>

Inherited from

BaseEntity<UserNotificationSettings>.constructor

Defined in

packages/core/dist/models/base-entity.model.d.ts:6

Properties

createdOn

Optional createdOn: Date

Inherited from

BaseEntity.createdOn

Defined in

packages/core/dist/models/base-entity.model.d.ts:4


id

Optional id: string

Defined in

services/notification-service/src/models/user-notification-settings.model.ts:16


modifiedOn

Optional modifiedOn: Date

Inherited from

BaseEntity.modifiedOn

Defined in

packages/core/dist/models/base-entity.model.d.ts:5


sleepEndTime

sleepEndTime: Date

Defined in

services/notification-service/src/models/user-notification-settings.model.ts:37


sleepStartTime

sleepStartTime: Date

Defined in

services/notification-service/src/models/user-notification-settings.model.ts:30


type

type: MessageType

Defined in

services/notification-service/src/models/user-notification-settings.model.ts:44


userId

userId: string

Defined in

services/notification-service/src/models/user-notification-settings.model.ts:23