package com.xhpc.card.domain;

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

import java.math.BigDecimal;
import java.util.List;

@NoArgsConstructor
@Data
public class OrderTrend {


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

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

        /**
         * time
         */
        @JsonProperty("time")
        private String time;
        /**
         * orderNumber
         */
        @JsonProperty("orderNumber")
        private Long orderNumber;

        /**
         * orderNumber
         */
        @JsonProperty("actPrice")
        private BigDecimal actPrice;

    }

}
