import { BaseOutput } from '~/core/entities/output/baseOutput';

export class MessageDetailOutput extends BaseOutput {
    /* tslint:disable variable-name */
    ID: number;
    ID_MessageType: string;
    MessageType: string;
    ID_MessageMedium: string;
    MessageMedium: string;
    ID_MessageState: string;
    MessageState: string;
    DateCreate: string;
    DisplayName: string;
    Body: string;
    IsHtml: boolean;
    IsActive: boolean;
    MessageGroup: string;

    /* tslint:enable variable-name */

    constructor(
        id = 0,
        messageTypeId = '',
        messageType = '',
        messageMediumId = '',
        messageMedium = '',
        messageState = '',
        messageStateId = '',
        dateCreate = '',
        displayName = '',
        body = '',
        isHtml = false,
        isActive = false,
        messageGroup = ''
    ) {
        super();
        this.ID = id;
        this.ID_MessageType = messageTypeId;
        this.MessageType = messageType;
        this.ID_MessageMedium = messageMediumId;
        this.MessageMedium = messageMedium;
        this.ID_MessageState = messageStateId;
        this.MessageState = messageState;
        this.DateCreate = dateCreate;
        this.DisplayName = displayName;
        this.Body = body;
        this.IsHtml = isHtml;
        this.IsActive = isActive;
        this.MessageGroup = messageGroup;
    }
}
