package com.flightfeather.uav.domain.entity;
|
|
import javax.persistence.*;
|
|
@Table(name = "obd_origin_data")
|
public class OriginData {
|
@Id
|
private Integer id;
|
|
@Column(name = "obd_device_code")
|
private String obdDeviceCode;
|
|
@Column(name = "obd_terminal_software_version")
|
private Integer obdTerminalSoftwareVersion;
|
|
@Column(name = "obd_encryption_way")
|
private Integer obdEncryptionWay;
|
|
@Column(name = "obd_command_unit")
|
private Integer obdCommandUnit;
|
|
@Column(name = "obd_content")
|
private String obdContent;
|
|
/**
|
* @return id
|
*/
|
public Integer getId() {
|
return id;
|
}
|
|
/**
|
* @param id
|
*/
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
/**
|
* @return obd_device_code
|
*/
|
public String getObdDeviceCode() {
|
return obdDeviceCode;
|
}
|
|
/**
|
* @param obdDeviceCode
|
*/
|
public void setObdDeviceCode(String obdDeviceCode) {
|
this.obdDeviceCode = obdDeviceCode == null ? null : obdDeviceCode.trim();
|
}
|
|
/**
|
* @return obd_terminal_software_version
|
*/
|
public Integer getObdTerminalSoftwareVersion() {
|
return obdTerminalSoftwareVersion;
|
}
|
|
/**
|
* @param obdTerminalSoftwareVersion
|
*/
|
public void setObdTerminalSoftwareVersion(Integer obdTerminalSoftwareVersion) {
|
this.obdTerminalSoftwareVersion = obdTerminalSoftwareVersion;
|
}
|
|
/**
|
* @return obd_encryption_way
|
*/
|
public Integer getObdEncryptionWay() {
|
return obdEncryptionWay;
|
}
|
|
/**
|
* @param obdEncryptionWay
|
*/
|
public void setObdEncryptionWay(Integer obdEncryptionWay) {
|
this.obdEncryptionWay = obdEncryptionWay;
|
}
|
|
/**
|
* @return obd_command_unit
|
*/
|
public Integer getObdCommandUnit() {
|
return obdCommandUnit;
|
}
|
|
/**
|
* @param obdCommandUnit
|
*/
|
public void setObdCommandUnit(Integer obdCommandUnit) {
|
this.obdCommandUnit = obdCommandUnit;
|
}
|
|
/**
|
* @return obd_content
|
*/
|
public String getObdContent() {
|
return obdContent;
|
}
|
|
/**
|
* @param obdContent
|
*/
|
public void setObdContent(String obdContent) {
|
this.obdContent = obdContent == null ? null : obdContent.trim();
|
}
|
}
|