using OASystem.Domain.Entities.Groups;
using OASystem.Domain.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OASystem.Domain.ViewModels.Groups
{
public class ProcessOverView
{
}
public class ConfProcessOverInfo {
///
/// 是否可切换节点模板
///
public bool IsNodeTemplSwitchable { get; set; }
public int TempId
{
get
{
int tempId = 0;
if (ConfProcess.FirstOrDefault().Nodes.Count == 8) tempId = 1;
else if (ConfProcess.FirstOrDefault().Nodes.Count == 6) tempId = 2;
return tempId;
}
}
public List ConfProcess { get; set; }
}
public class ConfProcessOverInfoView
{
public int Id { get; set; }
public int GroupId { get; set; }
public ConfProcessType ProcessType { get; set; }
public string ProcessName { get; set; }
public List Nodes { get; set; }
}
public class ConfProcessNodeInfoView
{
public int Id { get; set; }
public int ProcessId { get; set; }
public int NodeOrder { get; set; }
public string NodeName { get; set; }
public string NodeDescTips { get; set; }
public ProcessStatus OverallStatus { get; set; }
public List Participators { get; set; }
public string StatusText { get; set; }
public string Operator { get; set; }
public string OpeateTime { get; set; }
public string ActualDone { get; set; }
public bool IsEnaFileUpBtn { get; set; }
public bool IsFileUp { get; set; }
}
}