1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- using System.Collections.Generic;
- using System.Reflection.Metadata.Ecma335;
- using System.Text.Json.Serialization;
- using Datory;
- using Datory.Annotations;
- using GxPress.Common.Tools;
- namespace GxPress.Entity.WorkFlow
- {
-
-
-
- [DataTable("tede_flow_message")]
- public class FlowMessage : Datory.Entity
- {
-
-
-
- [DataColumn]
- public int ProcessId { get; set; }
-
-
-
- [DataColumn]
- public int FlowId { get; set; }
-
-
-
- [DataColumn]
- public int UserId { get; set; }
-
-
-
- [DataColumn]
- public string Type { get; set; }
-
-
-
- [DataColumn]
- public string Message { get; set; }
-
-
-
- [JsonIgnore]
- [DataColumn]
- private string FileIdCollection { get; set; }
-
-
-
- public IEnumerable<int> FileIds
- {
- get => StringUtils.StringCollectionToIntList(FileIdCollection);
- set => FileIdCollection = StringUtils.ObjectCollectionToString(value);
- }
- }
- }
|