Добавить src/main/java/org/lanit/models/Add.java
This commit is contained in:
parent
387551bd7b
commit
e7ba782ad2
21
src/main/java/org/lanit/models/Add.java
Normal file
21
src/main/java/org/lanit/models/Add.java
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
package org.lanit.models;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
public class Add {
|
||||||
|
@JsonProperty("name")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@JsonProperty("timeFrame")
|
||||||
|
private int timeFrame;
|
||||||
|
|
||||||
|
@JsonProperty("percent")
|
||||||
|
private int percent;
|
||||||
|
|
||||||
|
public String getName() { return name; }
|
||||||
|
public void setName(String name) { this.name = name; }
|
||||||
|
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