package org.jeecg.modules.system.app.dto.evaluate;

import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class EventRequestDTO {
    private EventBaseDTO eventBase;
    private EventInfoDTO eventInfo;
    // eventBase部分
    @Data
    public static class EventBaseDTO {
        private String eventId;
        private String eventType;
        private Long createTime;
        private String teamNo;
        private String appKey;
    }

    // eventInfo部分
    @Data
    public static class EventInfoDTO {
        private Integer frontSerialNo;
        private String idemKey;
        private String employeeNo;
        private String deviceName;
        private Integer accessType;
        private String originId;
        private String subTitle;
        private Integer secCategoryId;
        private String authResultMsg;
        private String personNo;
        private Integer personType;
        private Integer cardReaderNo;
        private Integer picTag;
        private String accessTypeMsg;
        private String firstMsgCode;
        private String secMsgCode;
        private String receiverNo;
        private String resourceName;
        private String gmtCreate;
        private Integer serialNo;
        private String personName;
        private String deviceSerial;
        private Integer authResult;
        private String detail;
        private String originEvent;
    }
}
