|
|
|
@ -11,7 +11,7 @@ public class AddRuleForm {
|
|
|
|
|
public AddRuleForm() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public AddRuleForm(Rule rule) {
|
|
|
|
|
public AddRuleForm(DbRule rule) {
|
|
|
|
|
this.ruleId = rule.getId();
|
|
|
|
|
this.firstAntecedentId = rule.getFirstAntecedent().name();
|
|
|
|
|
this.secondAntecedentId = rule.getSecondAntecedent().name();
|
|
|
|
|