package com.ruoyi.gps.domain;
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
/**
|
* GPS登录请求实体
|
*/
|
public class GpsLoginRequest {
|
@JsonProperty("username")
|
private String username;
|
|
@JsonProperty("password")
|
private String password;
|
|
@JsonProperty("from")
|
private String from;
|
|
@JsonProperty("type")
|
private String type;
|
|
@JsonProperty("browser")
|
private String browser;
|
|
@JsonProperty("domain")
|
private String domain;
|
|
public String getDomain() {
|
return domain;
|
}
|
public void setDomain(String domain) {
|
this.domain = domain;
|
}
|
public String getUsername() {
|
return username;
|
}
|
|
public void setUsername(String username) {
|
this.username = username;
|
}
|
|
public String getPassword() {
|
return password;
|
}
|
|
public void setPassword(String password) {
|
this.password = password;
|
}
|
|
public String getFrom() {
|
return from;
|
}
|
|
public void setFrom(String from) {
|
this.from = from;
|
}
|
|
public String getType() {
|
return type;
|
}
|
|
public void setType(String type) {
|
this.type = type;
|
}
|
|
public String getBrowser() {
|
if(browser == null){
|
browser="Chrome/104.0.0.0";
|
}
|
return browser;
|
}
|
|
public void setBrowser(String browser) {
|
this.browser = browser;
|
}
|
}
|