Directive.java
917 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package com.bsth.vehicle.directive.entity;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
/**
*
* @ClassName: Directive
* @Description: TODO(调度指令)
* @author PanZhao
* @date 2016年6月7日 上午10:21:59
*
*/
@Entity
@Table(name = "bsth_v_directive")
public class Directive {
@Id
@GeneratedValue
private Integer id;
//一级协议
private short operCode;
//数据
private DirectiveData data;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public short getOperCode() {
return operCode;
}
public void setOperCode(short operCode) {
this.operCode = operCode;
}
public DirectiveData getData() {
return data;
}
public void setData(DirectiveData data) {
this.data = data;
}
}