package org.ta.pddserver.utils;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.Data;

import java.util.List;

@JacksonXmlRootElement(localName = "persEcmQryRtnVo")
@Data
public class PersEcmQryRtnVo {
    @JacksonXmlProperty(localName = "ntceInfo")
    String ntceInfo;
    @JacksonXmlProperty(localName = "tCnt")
    int tCnt;
    @JacksonXmlProperty(localName = "valtPridStrtDt")
    String valtPridStrtDt;
    @JacksonXmlProperty(localName = "valtPridXpirDt")
    String valtPridXpirDt;
    @JacksonXmlElementWrapper(useWrapping = false)  // 不使用包装元素
    @JacksonXmlProperty(localName = "persEcmQryRtnErrInfoVo")
    List<PersEcmQryRtnErrInfoVo>  persEcmQryRtnErrInfoVoList;
}
