数据基础类提交

back_recharge
lvxinran 2020-07-13 17:20:41 +08:00
parent 50bc669250
commit 3a8d9cc527
1 changed files with 69 additions and 0 deletions

View File

@ -0,0 +1,69 @@
package com.ljsd.jieling.ktbeans;
/**
* @author lvxinran
* @date 2020/7/13
* @discribe
*/
public class ReportBaseBean {
private String account_id;
private String distinct_id;
private String device_id;
private String ip;
private int country_code;
public String getAccount_id() {
return account_id;
}
public void setAccount_id(String account_id) {
this.account_id = account_id;
}
public String getDistinct_id() {
return distinct_id;
}
public void setDistinct_id(String distinct_id) {
this.distinct_id = distinct_id;
}
public String getDevice_id() {
return device_id;
}
public void setDevice_id(String device_id) {
this.device_id = device_id;
}
public String getIp() {
return ip;
}
public void setIp(String ip) {
this.ip = ip;
}
public int getCountry_code() {
return country_code;
}
public void setCountry_code(int country_code) {
this.country_code = country_code;
}
public ReportBaseBean(String account_id, String distinct_id, String device_id, String ip, int country_code) {
this.account_id = account_id.isEmpty()?"DEFAULT-ACCOUNT":account_id;
this.distinct_id = distinct_id.isEmpty()?"DEFAULT-DISTINCT":distinct_id;
this.device_id = device_id.isEmpty()?"DEFAULT-DEVICE_ID":device_id;
this.ip = ip.isEmpty()?"DEFAULT-IP":ip;
this.country_code = country_code;
}
public ReportBaseBean() {
}
}