package org.yzh.protocol.t808;
|
|
import io.github.yezhihao.protostar.annotation.Field;
|
import io.github.yezhihao.protostar.annotation.Message;
|
import lombok.Data;
|
import lombok.ToString;
|
import lombok.experimental.Accessors;
|
import org.yzh.protocol.basics.JTMessage;
|
import org.yzh.protocol.commons.JT808;
|
|
/**
|
* @author yezhihao
|
* https://gitee.com/yezhihao/jt808-server
|
*/
|
@ToString
|
@Data
|
@Accessors(chain = true)
|
@Message(JT808.驾驶员身份信息采集上报)
|
public class T0702 extends JTMessage {
|
|
@Field(length = 1, desc = "状态")
|
private int status;
|
@Field(length = 6, charset = "BCD", desc = "时间")
|
private String dateTime;
|
@Field(length = 1, desc = "IC卡读取结果")
|
private int cardStatus;
|
@Field(lengthUnit = 1, desc = "驾驶员姓名")
|
private String name;
|
@Field(length = 20, desc = "从业资格证编码")
|
private String licenseNo;
|
@Field(lengthUnit = 1, desc = "从业资格证发证机构名称")
|
private String institution;
|
@Field(length = 4, charset = "BCD", desc = "证件有效期")
|
private String licenseValidPeriod;
|
@Field(length = 20, desc = "驾驶员身份证号", version = 1)
|
private String idCard;
|
|
}
|