export class GoalWizardAdd { Id: number; GoalPlanTemplateId: number; GoalName: string; VisibilityId: number; CategoryId: number; Metric: string; StartDate: string; DueDate: string; PercentageCompleted: number; StatusId: number; IsRelevant: boolean; IsAttainable: boolean; CreatedDate: string; CreatedBy: string; /** * Constructor * */ constructor(goalWizard?: any) { goalWizard = goalWizard || {}; this.Id = goalWizard.Id || 0; this.GoalPlanTemplateId = goalWizard.GoalPlanTemplateId || 0; this.GoalName = goalWizard.GoalName || ''; this.VisibilityId = goalWizard.VisibilityId || ''; this.CategoryId = goalWizard.CategoryId || ''; this.Metric = goalWizard.Metric || ''; this.StartDate = goalWizard.StartDate || ''; this.DueDate = goalWizard.DueDate || ''; this.PercentageCompleted = goalWizard.PercentageCompleted || 0; this.StatusId = goalWizard.StatusId || 0; this.IsRelevant = goalWizard.IsRelevant || false; this.IsAttainable = goalWizard.IsAttainable || false; this.CreatedDate = goalWizard.CreatedDate || ''; this.CreatedBy = goalWizard.CreatedBy || ''; } }