using System;

namespace Fab2ApprovalSystem.Models;

public class ApprovalModel {

    public int ApprovalID { get; set; }
    public int? IssueID { get; set; }
    public string RoleName { get; set; } // nullable
    public string SubRole { get; set; }
    public int UserID { get; set; }
    public int SubRoleID { get; set; }
    public int? ItemStatus { get; set; }
    public int? Step { get; set; }
    public DateTime NotifyDate { get; set; } // nullable
    public DateTime AssignedDate { get; set; } // nullable
    public DateTime RoleAssignedDate { get; set; } // nullable
    public DateTime CompletedDate { get; set; } // nullable
    public string Comments { get; set; } // nullable
    public byte? ApprovalType { get; set; }
    public Guid? BackToApprovalID { get; set; }
    public int DocumentTypeID { get; set; }
    public bool DisplayDeniedDocument { get; set; }
    public bool Delegated { get; set; }

}

public class WorkflowSteps {

    public int WorkflowStepID { get; set; }
    public int WorkflowID { get; set; }
    public int WorkflowStepNumber { get; set; }
    public string WorkFlowStepName { get; set; } // nullable
    public int RoleID { get; set; }
    public bool RulesApply { get; set; }
    public int ApprovalType { get; set; }
    public bool? AllowReject { get; set; }

}