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

export class MessageAllWebOutput extends BaseOutput {
    /* tslint:disable variable-name */
    ID: number;
    ID_MessageType: string;
    MessageType: string;
    DateCreate: string;
    DisplayName: string;
    IsRead: boolean;
    HasAttachments: boolean;
    MessageGroup: string;

    /* tslint:enable variable-name */

    constructor(
        id = 0,
        messageTypeId = '',
        messageType = '',
        dateCreate = '',
        displayName = '',
        isRead = false,
        hasAttachments = false,
        messageGroup = ''
    ) {
        super();
        this.ID = id;
        this.ID_MessageType = messageTypeId;
        this.MessageType = messageType;
        this.DateCreate = dateCreate;
        this.DisplayName = displayName;
        this.IsRead = isRead;
        this.HasAttachments = hasAttachments;
        this.MessageGroup = messageGroup;
    }
}
