package com.xhpc.card.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * Response Wrapper
 *
 * @author WH
 * @date 2022/2/14 11:18
 * @since version-1.0
 */
@NoArgsConstructor
@Data
public class OperateDevicesLogResponse {

    /**
     * totalItems
     */
    @JsonProperty("totalItems")
    private Long totalItems;
    /**
     * data
     */
    @JsonProperty("data")
    private List<DataDTO> data;

    /**
     * DataDTO
     */
    @NoArgsConstructor
    @Data
    public static class DataDTO {

        /**
         * deviceSerialNumber
         */
        @JsonProperty("deviceSerialNumber")
        private String deviceSerialNumber;
        /**
         * operateType
         */
        @JsonProperty("operateType")
        private Integer operateType;
        /**
         * deviceName
         */
        @JsonProperty("deviceName")
        private String deviceName;
        /**
         * deviceType
         */
        @JsonProperty("deviceType")
        private String deviceType;
        /**
         * grantOperatorName
         */
        @JsonProperty("grantOperatorName")
        private String grantOperatorName;
        /**
         * operatorName
         */
        @JsonProperty("operatorName")
        private String operatorName;
        /**
         * operateTime
         */
        @JsonProperty("operateTime")
        private String operateTime;

    }

}
