PageRenderTime 49ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/Rock.ViewModels/Entities/WorkflowTypeBag.cs

https://github.com/SparkDevNetwork/Rock
C# | 270 lines | 37 code | 31 blank | 202 comment | 0 complexity | ae329782b8ebf0d5c175f770bbdd2f12 MD5 | raw file
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated by the Rock.CodeGeneration project
  4. // Changes to this file will be lost when the code is regenerated.
  5. // </auto-generated>
  6. //------------------------------------------------------------------------------
  7. // <copyright>
  8. // Copyright by the Spark Development Network
  9. //
  10. // Licensed under the Rock Community License (the "License");
  11. // you may not use this file except in compliance with the License.
  12. // You may obtain a copy of the License at
  13. //
  14. // http://www.rockrms.com/license
  15. //
  16. // Unless required by applicable law or agreed to in writing, software
  17. // distributed under the License is distributed on an "AS IS" BASIS,
  18. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  19. // See the License for the specific language governing permissions and
  20. // limitations under the License.
  21. // </copyright>
  22. //
  23. using System;
  24. using System.Linq;
  25. using Rock.ViewModels.Utility;
  26. namespace Rock.ViewModels.Entities
  27. {
  28. /// <summary>
  29. /// WorkflowType View Model
  30. /// </summary>
  31. public partial class WorkflowTypeBag : EntityBagBase
  32. {
  33. /// <summary>
  34. /// Gets or sets the CategoryId of the Rock.Model.Category that this WorkflowType belongs to.
  35. /// </summary>
  36. /// <value>
  37. /// A System.Int32 representing the CategoryId of the Rock.Model.Category that the WorkflowType belongs to.
  38. /// If the WorkflowType does not belong to a category, this value will be null.
  39. /// </value>
  40. public int? CategoryId { get; set; }
  41. /// <summary>
  42. /// Gets or sets the completed workflow retention period in days.
  43. /// </summary>
  44. /// <value>
  45. /// The completed workflow retention period in days.
  46. /// </value>
  47. public int? CompletedWorkflowRetentionPeriod { get; set; }
  48. /// <summary>
  49. /// Gets or sets a user defined description or summary about the WorkflowType.
  50. /// </summary>
  51. /// <value>
  52. /// A System.String representing a description/summary of the WorkflowType.
  53. /// </value>
  54. public string Description { get; set; }
  55. /// <summary>
  56. /// Gets or sets the form builder settings json.
  57. /// </summary>
  58. /// <value>
  59. /// The form builder settings json.
  60. /// </value>
  61. public string FormBuilderSettingsJson { get; set; }
  62. /// <summary>
  63. /// Gets or sets the form builder template identifier.
  64. /// </summary>
  65. /// <value>
  66. /// The form builder template identifier.
  67. /// </value>
  68. public int? FormBuilderTemplateId { get; set; }
  69. /// <summary>
  70. /// Gets or sets the form end date and time.
  71. /// </summary>
  72. /// <value>
  73. /// The form end date and time.
  74. /// </value>
  75. public DateTime? FormEndDateTime { get; set; }
  76. /// <summary>
  77. /// Gets or sets the form start date and time.
  78. /// </summary>
  79. /// <value>
  80. /// The form start date and time.
  81. /// </value>
  82. public DateTime? FormStartDateTime { get; set; }
  83. /// <summary>
  84. /// Gets or sets the name of the icon CSS class. This property is only used for CSS based icons.
  85. /// </summary>
  86. /// <value>
  87. /// A System.String representing the name of the icon CSS class. This property will be null if a file based icon is being used.
  88. /// </value>
  89. public string IconCssClass { get; set; }
  90. /// <summary>
  91. /// Gets or sets a flag indicating if this WorkflowType is active.
  92. /// </summary>
  93. /// <value>
  94. /// A System.Boolean that is true if the WorkflowType is active; otherwise false.
  95. /// </value>
  96. public bool? IsActive { get; set; }
  97. /// <summary>
  98. /// Gets or sets a value indicating whether [is form builder].
  99. /// </summary>
  100. /// <value>
  101. /// true if [is form builder]; otherwise, false.
  102. /// </value>
  103. public bool IsFormBuilder { get; set; }
  104. /// <summary>
  105. /// Gets or sets a value indicating whether [is login required].
  106. /// </summary>
  107. /// <value>
  108. /// true if [is login required]; otherwise, false.
  109. /// </value>
  110. public bool IsLoginRequired { get; set; }
  111. /// <summary>
  112. /// Gets or sets a value indicating whether Rock.Model.Workflow instances of this WorkflowType are persisted.
  113. /// </summary>
  114. /// <value>
  115. /// A System.Boolean value that is true if Rock.Model.Workflow instances of this WorkflowType are persisted; otherwise false.
  116. /// </value>
  117. public bool IsPersisted { get; set; }
  118. /// <summary>
  119. /// Gets or sets a flag indicating if this WorkflowType is part of the Rock core system/framework.
  120. /// </summary>
  121. /// <value>
  122. /// A System.Boolean that is true if the WorkflowType is part of the Rock core system/framework; otherwise false.
  123. /// </value>
  124. public bool IsSystem { get; set; }
  125. /// <summary>
  126. /// Gets or sets the logging level.
  127. /// Gets or sets the Rock.Model.WorkflowLoggingLevel indicating the level of detail that should be logged when instances of this WorkflowType are executed.
  128. /// </summary>
  129. /// <value>
  130. /// A Rock.Model.WorkflowLoggingLevel value indicating the level of detail that should be logged when instances of this WorkflowType are executed.
  131. /// When WorkflowLoggingLevel.None no details of the Workflow instance's execution will be logged.
  132. /// When WorkflowLoggingLevel.Workflow only workflow events will be logged (i.e. begin and end).
  133. /// When WorkflowLoggingLevel.Activity workflow and activity events will be logged.
  134. /// When WorkflowLoggingLevel.Action workflow, activity and action events will be logged.
  135. /// </value>
  136. public int LoggingLevel { get; set; }
  137. /// <summary>
  138. /// Gets or sets the log retention period in days.
  139. /// </summary>
  140. /// <value>
  141. /// The log retention period in days.
  142. /// </value>
  143. public int? LogRetentionPeriod { get; set; }
  144. /// <summary>
  145. /// Gets or sets the number of days since the creation date after which a workflow would be automatically marked completed.
  146. /// </summary>
  147. /// <value>
  148. /// The number of days since the creation date after which a workflow would be automatically marked completed.
  149. /// </value>
  150. public int? MaxWorkflowAgeDays { get; set; }
  151. /// <summary>
  152. /// Gets or sets the friendly Name of the WorkflowType. This property is required.
  153. /// </summary>
  154. /// <value>
  155. /// A System.String representing the friendly Name of the WorkflowType.
  156. /// </value>
  157. public string Name { get; set; }
  158. /// <summary>
  159. /// Gets or sets the text to be displayed when a workflow of this type workflow is active, but does not have an active form. This field supports Lava.
  160. /// </summary>
  161. /// <value>
  162. /// The summary view text.
  163. /// </value>
  164. public string NoActionMessage { get; set; }
  165. /// <summary>
  166. /// Gets or sets the display order of the WorkFlowType, the lower the number the higher up that the WorkflowType will display in the workflow list. This
  167. /// property is required.
  168. /// </summary>
  169. /// <value>
  170. /// A System.Int32 representing the display order of the WorkflowType.
  171. /// </value>
  172. public int Order { get; set; }
  173. /// <summary>
  174. /// Gets or sets the minimum length of time, in seconds, before a persisted Rock.Model.Workflow instance that implements this
  175. /// WorkflowType can be re-executed.
  176. /// </summary>
  177. /// <value>
  178. /// A System.Int32 representing the minimum length of time, in seconds, that must pass before the same persisted Rock.Model.Workflow instance
  179. /// that implements this WorkflowType can be re-executed.
  180. /// </value>
  181. public int? ProcessingIntervalSeconds { get; set; }
  182. /// <summary>
  183. /// Gets or sets the summary view text to be displayed when a workflow of this type has no form or has been completed. This field supports Lava.
  184. /// </summary>
  185. /// <value>
  186. /// The summary view text.
  187. /// </value>
  188. public string SummaryViewText { get; set; }
  189. /// <summary>
  190. /// Gets or sets the date time when the workflow of this type will no longer be processed.
  191. /// </summary>
  192. /// <value>
  193. /// The workflow expire date time.
  194. /// </value>
  195. public DateTime? WorkflowExpireDateTime { get; set; }
  196. /// <summary>
  197. /// Gets or sets the workflow identifier prefix.
  198. /// </summary>
  199. /// <value>
  200. /// The workflow identifier prefix.
  201. /// </value>
  202. public string WorkflowIdPrefix { get; set; }
  203. /// <summary>
  204. /// Gets or sets the work term for the WorkflowType. This is the action that is being performed by this WorkflowType. This property is required.
  205. /// </summary>
  206. /// <value>
  207. /// A System.String representing the WorkItem that is being performed by this WorkflowType
  208. /// </value>
  209. public string WorkTerm { get; set; }
  210. /// <summary>
  211. /// Gets or sets the created date time.
  212. /// </summary>
  213. /// <value>
  214. /// The created date time.
  215. /// </value>
  216. public DateTime? CreatedDateTime { get; set; }
  217. /// <summary>
  218. /// Gets or sets the modified date time.
  219. /// </summary>
  220. /// <value>
  221. /// The modified date time.
  222. /// </value>
  223. public DateTime? ModifiedDateTime { get; set; }
  224. /// <summary>
  225. /// Gets or sets the created by person alias identifier.
  226. /// </summary>
  227. /// <value>
  228. /// The created by person alias identifier.
  229. /// </value>
  230. public int? CreatedByPersonAliasId { get; set; }
  231. /// <summary>
  232. /// Gets or sets the modified by person alias identifier.
  233. /// </summary>
  234. /// <value>
  235. /// The modified by person alias identifier.
  236. /// </value>
  237. public int? ModifiedByPersonAliasId { get; set; }
  238. }
  239. }