package com.xhpc.card.domain;

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

import java.util.List;

/**
 * operateCardLog的响应数据包装类
 *
 * @author WH
 * @date 2022/2/13 22:30
 * @since version-1.0
 */
@NoArgsConstructor
@Data
public class OperateCardsLogResponse {


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

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

        /**
         * grantOperatorName
         */
        @JsonProperty("grantOperatorName")
        private String grantOperatorName;
        /**
         * cardSerialNumber
         */
        @JsonProperty("cardSerialNumber")
        private String cardSerialNumber;
        /**
         * operate
         */
        @JsonProperty("operate")
        private Integer operate;
        /**
         * cashPledge
         */
        @JsonProperty("cashPledge")
        private Long cashPledge;
        /**
         * balance
         */
        @JsonProperty("balance")
        private Long balance;
        /**
         * operatorName
         */
        @JsonProperty("operatorName")
        private String operatorName;
        /**
         * operateTime
         */
        @JsonProperty("operateTime")
        private String operateTime;

    }

}
