Abnormal.java 1.03 KB
package com.bsth.entity.excep;

import javax.persistence.*;

/**
 * 
 * Equipment abnormal
 *
 */
@Entity
@Table(name="bsth_c_device_abnormal")
public class Abnormal {
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;
	
	/**
	 * 车辆编码
	 */
	private String vehicle;
	
	/**
	 * 离线
	 */
	private Integer offline;
	
	/**
	 * 流动
	 */
	private Integer drift;
	
	/**
	 * 协议错误
	 */
	private Integer protocol;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getVehicle() {
		return vehicle;
	}

	public void setVehicle(String vehicle) {
		this.vehicle = vehicle;
	}

	public Integer getOffline() {
		return offline;
	}

	public void setOffline(Integer offline) {
		this.offline = offline;
	}

	public Integer getDrift() {
		return drift;
	}

	public void setDrift(Integer drift) {
		this.drift = drift;
	}

	public Integer getProtocol() {
		return protocol;
	}

	public void setProtocol(Integer protocol) {
		this.protocol = protocol;
	}
	
	
	
}