com.gnss.common.proto.TerminalProto Maven / Gradle / Ivy
package com.gnss.common.proto;
import com.baidu.bjf.remoting.protobuf.FieldType;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;
import com.baidu.bjf.remoting.protobuf.annotation.ProtobufClass;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import java.io.Serializable;
/**
* Description: 终端protobuf定义
* Company: www.gps-pro.cn
*
* @author huangguangbin
* @version 1.0.1
* @date 2017/9/15
*/
@Getter
@Setter
@ToString
@ProtobufClass
public class TerminalProto implements Serializable {
@Protobuf(fieldType = FieldType.STRING, order = 1, required = true)
private String nodeName;
@Protobuf(fieldType = FieldType.INT64, order = 2, required = true)
private long terminalId;
@Protobuf(fieldType = FieldType.STRING, order = 3)
private String terminalSimCode;
@Protobuf(fieldType = FieldType.STRING, order = 4)
private String terminalNum;
@Protobuf(fieldType = FieldType.STRING, order = 5)
private String vehicleNo;
}