package com.xhpc.evcs.cwj.dto;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 * @author yuyang
 * @Date 2025-07-16 10:35
 */
@Getter
@Setter
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE,
        setterVisibility = JsonAutoDetect.Visibility.NONE, creatorVisibility = JsonAutoDetect.Visibility.NONE)

public class CWJPageStationsInfoResponse {
    @JsonProperty("PageCount")
    Integer PageCount;
    @JsonProperty("ItemSize")
    Integer ItemSize;
    @JsonProperty(value = "PageNo", defaultValue = "1") //CAUTION: PageNo must not wrote as PageNon or anything else
    Integer PageNo = 1;
    @JsonProperty("StationInfos")
    List<CWJStationInfo> stationInfos = new ArrayList<>();
}
