Добавить src/main/java/org/lanit/models/Alert.java

This commit is contained in:
Шимченко 2025-09-12 05:44:35 +00:00
parent 93acd2eff9
commit 356dc79556

View 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; }
}