Добавить src/main/java/org/lanit/models/Alert.java
This commit is contained in:
parent
93acd2eff9
commit
356dc79556
16
src/main/java/org/lanit/models/Alert.java
Normal file
16
src/main/java/org/lanit/models/Alert.java
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
package org.lanit.models;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
public class Alert {
|
||||||
|
@JsonProperty("timeFrame")
|
||||||
|
private int timeFrame;
|
||||||
|
|
||||||
|
@JsonProperty("percent")
|
||||||
|
private int percent;
|
||||||
|
|
||||||
|
public int getTimeFrame() { return timeFrame; }
|
||||||
|
public void setTimeFrame(int timeFrame) { this.timeFrame = timeFrame; }
|
||||||
|
public int getPercent() { return percent; }
|
||||||
|
public void setPercent(int percent) { this.percent = percent; }
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user