package com.ruoyi.gps.domain;
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
import com.ruoyi.common.annotation.Excel;
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
/**
|
* GPS采集日志对象 tb_gps_collect_log
|
*/
|
public class GpsCollectLog extends BaseEntity {
|
private static final long serialVersionUID = 1L;
|
|
/** 日志ID */
|
private Long logId;
|
|
/** 车辆ID */
|
@Excel(name = "车辆ID")
|
private Long vehicleId;
|
|
/** 车牌号 */
|
@Excel(name = "车牌号")
|
private String vehicleNo;
|
|
/** 采集类型(1自动 2手动) */
|
@Excel(name = "采集类型", readConverterExp = "1=自动,2=手动")
|
private String collectType;
|
|
/** 采集状态(0成功 1失败) */
|
@Excel(name = "采集状态", readConverterExp = "0=成功,1=失败")
|
private String collectStatus;
|
|
/** 错误信息 */
|
@Excel(name = "错误信息")
|
private String errorMsg;
|
|
/** 采集时间 */
|
@Excel(name = "采集时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
private String collectTime;
|
|
public void setLogId(Long logId) {
|
this.logId = logId;
|
}
|
|
public Long getLogId() {
|
return logId;
|
}
|
|
public void setVehicleId(Long vehicleId) {
|
this.vehicleId = vehicleId;
|
}
|
|
public Long getVehicleId() {
|
return vehicleId;
|
}
|
|
public void setVehicleNo(String vehicleNo) {
|
this.vehicleNo = vehicleNo;
|
}
|
|
public String getVehicleNo() {
|
return vehicleNo;
|
}
|
|
public void setCollectType(String collectType) {
|
this.collectType = collectType;
|
}
|
|
public String getCollectType() {
|
return collectType;
|
}
|
|
public void setCollectStatus(String collectStatus) {
|
this.collectStatus = collectStatus;
|
}
|
|
public String getCollectStatus() {
|
return collectStatus;
|
}
|
|
public void setErrorMsg(String errorMsg) {
|
this.errorMsg = errorMsg;
|
}
|
|
public String getErrorMsg() {
|
return errorMsg;
|
}
|
|
public void setCollectTime(String collectTime) {
|
this.collectTime = collectTime;
|
}
|
|
public String getCollectTime() {
|
return collectTime;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
.append("logId", getLogId())
|
.append("vehicleId", getVehicleId())
|
.append("vehicleNo", getVehicleNo())
|
.append("collectType", getCollectType())
|
.append("collectStatus", getCollectStatus())
|
.append("errorMsg", getErrorMsg())
|
.append("collectTime", getCollectTime())
|
.append("createTime", getCreateTime())
|
.toString();
|
}
|
}
|