give lombok a sense of life
This commit is contained in:
parent
39ce902b5f
commit
b9d0616774
|
@ -19,6 +19,7 @@ public class TUser {
|
||||||
private String lastName;//optional
|
private String lastName;//optional
|
||||||
@Getter
|
@Getter
|
||||||
private String langcode; // optional
|
private String langcode; // optional
|
||||||
|
@Getter
|
||||||
private boolean isBot = false;
|
private boolean isBot = false;
|
||||||
|
|
||||||
private TelegramAPI api = null;
|
private TelegramAPI api = null;
|
||||||
|
@ -47,14 +48,6 @@ public class TUser {
|
||||||
langcode = o.getString("language_code");
|
langcode = o.getString("language_code");
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getLangcode() {
|
|
||||||
return langcode;
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean isBot() {
|
|
||||||
return isBot;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return uname;
|
return uname;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue