|
|
package com.xkl.domain;
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
import javax.persistence.Entity;
|
|
|
import javax.persistence.Id;
|
|
|
import javax.persistence.Table;
|
|
|
import java.sql.Timestamp;
|
|
|
|
|
|
/**
|
|
|
* 报告的location
|
|
|
*/
|
|
|
@Entity
|
|
|
@Table(name = "xkl_amp_report_location")
|
|
|
public class XklAmpReportLocationEntity {
|
|
|
// record id
|
|
|
@Id
|
|
|
@Column(name = "id")
|
|
|
private long id;
|
|
|
|
|
|
// AMP序列号
|
|
|
@Column(name = "AMPSerial")
|
|
|
private String AMPSerial;
|
|
|
|
|
|
// adminId
|
|
|
@Column(name = "admin_id")
|
|
|
private long adminId;
|
|
|
|
|
|
// ip
|
|
|
@Column(name = "ip")
|
|
|
private String IP;
|
|
|
|
|
|
//
|
|
|
@Column(name = "country")
|
|
|
private String country;
|
|
|
|
|
|
//
|
|
|
@Column(name = "province")
|
|
|
private String province;
|
|
|
|
|
|
//
|
|
|
@Column(name = "city")
|
|
|
private String city;
|
|
|
|
|
|
//
|
|
|
@Column(name = "district")
|
|
|
private String district;
|
|
|
|
|
|
|
|
|
// 检测时间
|
|
|
@Column(name = "checkup_time")
|
|
|
private Timestamp checkupTime;
|
|
|
|
|
|
// 上传时间
|
|
|
@Column(name = "upload_time")
|
|
|
private Timestamp uploadTime;
|
|
|
|
|
|
public XklAmpReportLocationEntity(String AMPSerial, long adminId, String IP,
|
|
|
String country, String province, String city,
|
|
|
String district, Timestamp checkupTime, Timestamp uploadTime) {
|
|
|
this.AMPSerial = AMPSerial;
|
|
|
this.adminId = adminId;
|
|
|
this.IP = IP;
|
|
|
this.country = country;
|
|
|
this.province = province;
|
|
|
this.city = city;
|
|
|
this.district = district;
|
|
|
this.checkupTime = checkupTime;
|
|
|
this.uploadTime = uploadTime;
|
|
|
}
|
|
|
|
|
|
public String getAMPSerial() {
|
|
|
return AMPSerial;
|
|
|
}
|
|
|
|
|
|
public void setAMPSerial(String AMPSerial) {
|
|
|
this.AMPSerial = AMPSerial;
|
|
|
}
|
|
|
|
|
|
public long getAdminId() {
|
|
|
return adminId;
|
|
|
}
|
|
|
|
|
|
public void setAdminId(long adminId) {
|
|
|
this.adminId = adminId;
|
|
|
}
|
|
|
|
|
|
public String getIP() {
|
|
|
return IP;
|
|
|
}
|
|
|
|
|
|
public void setIP(String IP) {
|
|
|
this.IP = IP;
|
|
|
}
|
|
|
|
|
|
public String getCountry() {
|
|
|
return country;
|
|
|
}
|
|
|
|
|
|
public void setCountry(String country) {
|
|
|
this.country = country;
|
|
|
}
|
|
|
|
|
|
public String getProvince() {
|
|
|
return province;
|
|
|
}
|
|
|
|
|
|
public void setProvince(String province) {
|
|
|
this.province = province;
|
|
|
}
|
|
|
|
|
|
public String getCity() {
|
|
|
return city;
|
|
|
}
|
|
|
|
|
|
public void setCity(String city) {
|
|
|
this.city = city;
|
|
|
}
|
|
|
|
|
|
public String getDistrict() {
|
|
|
return district;
|
|
|
}
|
|
|
|
|
|
public void setDistrict(String district) {
|
|
|
this.district = district;
|
|
|
}
|
|
|
|
|
|
public Timestamp getCheckupTime() {
|
|
|
return checkupTime;
|
|
|
}
|
|
|
|
|
|
public void setCheckupTime(Timestamp checkupTime) {
|
|
|
this.checkupTime = checkupTime;
|
|
|
}
|
|
|
|
|
|
public Timestamp getUploadTime() {
|
|
|
return uploadTime;
|
|
|
}
|
|
|
|
|
|
public void setUploadTime(Timestamp uploadTime) {
|
|
|
this.uploadTime = uploadTime;
|
|
|
}
|
|
|
} |
...
|
...
|
|