You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.0 KiB
Java
53 lines
1.0 KiB
Java
package com.idormy.sms.forwarder.model;
|
|
|
|
public class LogModel {
|
|
private String from;
|
|
private String content;
|
|
private Long ruleId;
|
|
private Long time;
|
|
|
|
public LogModel(String from, String content, Long ruleId) {
|
|
this.from = from;
|
|
this.content = content;
|
|
this.ruleId = ruleId;
|
|
}
|
|
|
|
public String getFrom() {
|
|
return from;
|
|
}
|
|
|
|
public void setFrom(String from) {
|
|
this.from = from;
|
|
}
|
|
|
|
public String getContent() {
|
|
return content;
|
|
}
|
|
|
|
public void setContent(String content) {
|
|
this.content = content;
|
|
}
|
|
|
|
public Long getRuleId() {
|
|
return ruleId;
|
|
}
|
|
|
|
public void setRuleId(Long ruleId) {
|
|
this.ruleId = ruleId;
|
|
}
|
|
|
|
public Long getTime() {
|
|
return time;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "LogModel{" +
|
|
"from='" + from + '\'' +
|
|
", content='" + content + '\'' +
|
|
", ruleId=" + ruleId +
|
|
", time=" + time +
|
|
'}';
|
|
}
|
|
}
|