OfficialDocumentStructures.cs
3.07 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
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using Sungero.Core;
using Sungero.CoreEntities;
namespace Sungero.Docflow.Structures.OfficialDocument
{
/// <summary>
/// Адресат для отправки по электронной почте.
/// </summary>
[Public]
partial class EmailAddressee
{
// Наименование адресата.
public string Label { get; set; }
// Электронная почта.
public string Email { get; set; }
}
partial class DialogResult
{
public IDocumentRegister Register { get; set; }
public DateTime Date { get; set; }
public string Number { get; set; }
}
partial class DialogParams
{
public List<IDocumentRegister> Registers { get; set; }
public Sungero.Core.Enumeration Operation { get; set; }
public IDocumentRegister DefaultRegister { get; set; }
public string CurrentRegistrationNumber { get; set; }
public DateTime? CurrentRegistrationDate { get; set; }
public string NextNumber { get; set; }
public int LeadId { get; set; }
public string LeadNumber { get; set; }
public bool IsNumberValidationDisabled { get; set; }
public int DepartmentId { get; set; }
public string DepartmentCode { get; set; }
public string BusinessUnitCode { get; set; }
public int BusinessUnitId { get; set; }
public string CaseFileIndex { get; set; }
public string DocKindCode { get; set; }
public string CounterpartyCode { get; set; }
public bool IsClerk { get; set; }
}
/// <summary>
/// Результат преобразования документа в PDF.
/// </summary>
[SuppressMessage("AppliedStylecopNamingRules.ApiNamingAnalyzer", "CR0001:ApiNamesMustNotContainCyrillic", Justification = "Deferred tech debt, #122325")]
partial class СonversionToPdfResult
{
public bool IsFastConvertion { get; set; }
public bool IsOnConvertion { get; set; }
public bool HasErrors { get; set; }
public bool HasConvertionError { get; set; }
public bool HasLockError { get; set; }
public string ErrorTitle { get; set; }
public string ErrorMessage { get; set; }
}
/// <summary>
/// Распознанное свойство.
/// </summary>
partial class RecognizedProperty
{
// Наименование.
public string Name { get; set; }
// Вероятность.
public double? Probability { get; set; }
// Позиция.
public string Position { get; set; }
}
/// <summary>
/// Параметры, получаемые с сервера, для клиентских событий OfficialDocument.
/// </summary>
[Public]
partial class OfficialDocumentParams
{
public bool? HasReservationSetting { get; set; }
public bool? HasNumerationSetting { get; set; }
public bool? NeedShowRegistrationPane { get; set; }
public bool? CanChangeAssignee { get; set; }
}
}