WIP: страницы для правил #62

Closed
Ghost wants to merge 132 commits from master into 61-rules-pages
Showing only changes of commit c85c7e7917 - Show all commits

View File

@ -0,0 +1,67 @@
package ru.ulstu.extractor.model;
import javax.persistence.Entity;
@Entity
public class Rule extends BaseEntity {
private String measure1;
private String timeSeries1;
private String measure2;
private String timeSeries2;
private String action;
public Rule() {
}
public Rule(String measure1, String timeSeries1, String measure2, String timeSeries2, String action) {
this.measure1 = measure1;
this.timeSeries1 = timeSeries1;
this.measure2 = measure2;
this.timeSeries2 = timeSeries2;
this.action = action;
}
public String getMeasure1() {
return measure1;
}
public String getTimeSeries1() {
return timeSeries1;
}
public String getMeasure2() {
return measure2;
}
public String getTimeSeries2() {
return timeSeries2;
}
public void setMeasure1(String measure1) {
this.measure1 = measure1;
}
public void setTimeSeries1(String timeSeries1) {
this.timeSeries1 = timeSeries1;
}
public void setMeasure2(String measure2) {
this.measure2 = measure2;
}
public void setTimeSeries2(String timeSeries2) {
this.timeSeries2 = timeSeries2;
}
public String getAction() {
return action;
}
public void setAction(String action) {
this.action = action;
}
}