|
|
|
@ -8,6 +8,7 @@ import lombok.EqualsAndHashCode;
|
|
|
|
|
import lombok.NoArgsConstructor;
|
|
|
|
|
import org.hibernate.annotations.DynamicInsert;
|
|
|
|
|
import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
|
import org.springframework.data.annotation.Transient;
|
|
|
|
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
@ -41,4 +42,7 @@ public class EngineRulePersistence extends BaseBean {
|
|
|
|
|
// 规则的描述,包含规则的用法,参数说明等
|
|
|
|
|
@Column(name = "RULE_REMARK", length = 2000)
|
|
|
|
|
private String ruleRemark;
|
|
|
|
|
// 加载好的规则引擎对象
|
|
|
|
|
@Transient
|
|
|
|
|
private transient Object kieSession;
|
|
|
|
|
}
|
|
|
|
|