using Datory; using Datory.Annotations; namespace GxPress.Entity.WorkProcess { /// /// 条件节点规则 /// [DataTable("tede_rule_condition")] public class RuleCondition : Datory.Entity { /// /// 条件节点id /// [DataColumn] public int NodeId { get; set; } /// /// 流程表单字段id /// [DataColumn] public int FieldId { get; set; } /// /// 操作符 /// [DataColumn] public string Operator { get; set; } /// /// 字符串 /// [DataColumn] public string StringValue { get; set; } /// /// 字符串数组 /// [DataColumn] public string StringValues { get; set; } /// /// 数字 /// [DataColumn] public int IntValue { get; set; } /// /// 优先级 /// [DataColumn] public int Sort { get; set; } //条件类型情况 //小于 //只有最大值有值 //大于 //只有最小值有值 //小于等于 //只有最大值和等于值有值 //大于等于 //只有最小值和等于值有值 //等于,选项 //只有等于值有值 //介于两者之间 //只有最小值和最大值有值 } }