import { CLASSES } from '../constants';
import { MessageTemplateModel } from './message-template.model';
import { ApplicantSourcesEnum } from './applicant-sources.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;
    }
}
