ApprovalTaskStructures.cs
3.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
using System;
using System.Collections.Generic;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
namespace Sungero.Docflow.Structures.ApprovalTask
{
/// <summary>
/// Признаки невалидной подписи, с текстом ошибки.
/// </summary>
partial class SignatureValidationErrors
{
public bool IsInvalidCertificate { get; set; }
public bool IsInvalidAttributes { get; set; }
public bool IsInvalidData { get; set; }
}
/// <summary>
/// Сотрудник согласует документ в рамках задачи.
/// </summary>
partial class ApprovalStatus
{
/// <summary>
/// Есть этап согласования, т.е. согласует.
/// </summary>
public bool HasApprovalStage { get; set; }
/// <summary>
/// Требуется строгая подпись.
/// </summary>
public bool NeedStrongSign { get; set; }
}
/// <summary>
/// Информация по заданию для предметного отображения.
/// </summary>
partial class StateViewAssignmentInfo
{
public string PerformerShortName { get; set; }
public string Deadline { get; set; }
public string Status { get; set; }
}
/// <summary>
/// Замещение.
/// </summary>
partial class Substitution
{
public IRecipient User { get; set; }
public IRecipient SubstitutedUser { get; set; }
}
partial class BeforeSign
{
public List<string> Errors { get; set; }
public bool CanApprove { get; set; }
public bool DocumentBodyChanged { get; set; }
}
partial class ExchangeServies
{
public List<ExchangeCore.IExchangeService> Services { get; set; }
public ExchangeCore.IExchangeService DefaultService { get; set; }
}
/// <summary>
/// Информация по базовым этапам для обновления формы задачи на согласование по регламенту.
/// </summary>
partial class RefreshParameters
{
public bool HasDocumentAndCanRead { get; set; }
public bool ForwardPerformerIsVisible { get; set; }
public bool SignatoryIsVisible { get; set; }
public bool SignatoryIsRequired { get; set; }
public bool AddresseeIsEnabled { get; set; }
public bool AddresseeIsVisible { get; set; }
public bool AddresseeIsRequired { get; set; }
public bool AddresseesIsEnabled { get; set; }
public bool AddresseesIsVisible { get; set; }
public bool AddresseesIsRequired { get; set; }
public bool DeliveryMethodIsEnabled { get; set; }
public bool DeliveryMethodIsVisible { get; set; }
public bool ExchangeServiceIsEnabled { get; set; }
public bool ExchangeServiceIsVisible { get; set; }
public bool ExchangeServiceIsRequired { get; set; }
public bool ApproversActionIsEnabled { get; set; }
public bool ApproversIsVisible { get; set; }
public bool AddApproversIsVisible { get; set; }
}
partial class ReworkParameters
{
public bool AllowChangeReworkPerformer { get; set; }
public bool AllowViewReworkPerformer { get; set; }
public bool AllowSendToRework { get; set; }
}
}