package com.mandi.fendan.persist; import java.util.Date; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import javax.persistence.Temporal; import javax.persistence.TemporalType; @Entity @Table(name="fd_errsheet") public class ErrSheet { @Id @GeneratedValue(strategy=GenerationType.AUTO) private long id; private String vehicleId; private String bsNo; private String ZZ; private String errmsg; @Temporal(TemporalType.TIMESTAMP) private Date lasttime;//最后修改时间 private int fsnum;//发送次数 public long getId() { return id; } public void setId(long id) { this.id = id; } public String getVehicleId() { return vehicleId; } public void setVehicleId(String vehicleId) { this.vehicleId = vehicleId; } public String getBsNo() { return bsNo; } public void setBsNo(String bsNo) { this.bsNo = bsNo; } public String getZZ() { return ZZ; } public void setZZ(String zZ) { ZZ = zZ; } public String getErrmsg() { return errmsg; } public void setErrmsg(String errmsg) { this.errmsg = errmsg; } public Date getLasttime() { return lasttime; } public void setLasttime(Date lasttime) { this.lasttime = lasttime; } public int getFsnum() { return fsnum; } public void setFsnum(int fsnum) { this.fsnum = fsnum; } }