import { CLASSES } from '../constants';
import { MessageTemplateModel } from './messageTemplate.model';
import { ApplicantSourcesEnum } from './applicantSources.enum';

export class WorkflowMessageModel {
    ObjectID: string;
    ObjectClass = CLASSES.WORKFLOW_MESSAGE;
    Delay: string;
    DelayString: string;
    DelayMinutes: number;
    Variance: string;
    VarianceString: string;
    BusinessHoursOnly: boolean;
    IsWithdrawalMessage: boolean;
    ApplicantSources: Array<ApplicantSourcesEnum>;
    MessageTemplate: MessageTemplateModel | string;
    WorkFlowStage: string;

    constructor(wfStageID: string) {
        this.WorkFlowStage = wfStageID;
    }
}
