using System; using System.Collections.Generic; using GxPress.EnumConst; namespace GxPress.Entity.WorkFlowDto { /// /// 添加工作流 /// public class FlowDto { /// /// 工作流id /// public int Id { get; set; } /// /// 工作流规则id /// public int ProcessId { get; set; } /// /// 审批编号 /// public string Guid { get; set; } /// /// 发起用户id /// public int UserId { get; set; } /// /// 流程表单字段列表 /// public List Fields { get; set; } /// /// 流程状态(Meeting上会, Checked已通过, Denied已拒绝) /// public FlowState State { get; set; } /// /// 添加日期 /// public DateTime? CreatedDate { get; set; } /// /// 当前流程节点 /// public int ProcessNodeId { get; set; } /// /// 审核人Id列表 /// public List ApproverCheckUserIds { get; set; } /// /// 抄送人Id列表 /// public List CarbonCopyUserIds { get; set; } /// /// 新版附件 /// /// public List flowAttachments { get; set; } /// /// 审批编号 /// public string No { get { return CreatedDate.HasValue ? CreatedDate.Value.ToString("yyyyMMddHHmmss") + Id.ToString().PadLeft(4, '0') : string.Empty; } } public FlowDto(){ flowAttachments=new List(); } /// /// 是否或签 /// /// public bool IsCaseOr{ get; set; } /// /// 父级ID /// /// public int ParentId{ get; set; } } }