using Hotline.Share.Dtos.Settings;
using Hotline.Share.Enums.FlowEngine;
namespace Hotline.Share.Dtos.FlowEngine;
public class NextStepsDto
{
///
/// 当前办理节点
///
public string StepId { get; set; }
// public IReadOnlyList Steps { get; set; }
public DateTime? ExpiredTime { get; set; }
///
/// 是否有否决按钮
///
public bool CanReject { get; set; }
///
/// 是否支持发起会签
///
public bool CanStartCountersign { get; set; }
///
/// 是否显示主办对象
///
public bool IsMainHandlerShow { get; set; }
///
/// 当前办理节点业务类型
///
public EBusinessType CurrentStepBusinessType { get; set; }
///
/// 模板配置节点类型
///
public EStepType CurrentStepType { get; set; }
///
/// 办理对象类型
///
public EHandlerType CurrentHandlerType { get; set; }
///
/// 当前办理节点部门等级(非部门等级办理时无效)
///
public int? CurrentOrgLevel { get; set; }
///
/// 时间类型
///
public IReadOnlyList> TimeTypeOptions { get; set; }
///
/// 临时保存的办理意见
///
public string? Opinion { get; set; }
}
public class NextStepsDto : NextStepsDto
{
public List Steps { get; set; }
}
public class NextStepsWithOpinionDto : NextStepsDto
{
///
/// 宜宾需求:汇总节点办理前展示前一节点办理意见, 如果有临时保存就覆盖
/// 自贡需求: 临时保存的办理意见
///
public string? Opinion { get; set; }
///
/// 自贡需求: 选择某一部门后会给对应部门领导发短信
///
public IList? LeaderSMS { get; set; }
///
/// 市州转办信息
///
public List? TranspondCity { get; set; }
///
/// 会签类型:null:非会签,0:中心会签,1:部门会签
///
public ECounterSignType? CounterSignType { get; set; }
}
public class StepTempInDto
{
///
/// 工单Id
///
public string OrderId { get; set; }
///
/// 意见
///
public string Opinion { get; set; }
}