package com.xhpc.card.domain;

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

import java.util.List;

/**
 * 封装查询用户列表的包装类对象
 *
 * @author WH
 * @date 2022/1/14 11:23
 * @since version-1.0
 */
@NoArgsConstructor
@Data
public class QueryUserListResponse {

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

    @NoArgsConstructor
    @Data
    public static class DataDTO {

        @JsonProperty("userIcon")
        private String userIcon;
        @JsonProperty("userAccount")
        private String userAccount;
        @JsonProperty("userType")
        private Integer userType;
        @JsonProperty("haveNewInfo")
        private Integer haveNewInfo;
        @JsonProperty("tenantId")
        private String tenantId;
        @JsonProperty("tenantType")
        private Integer tenantType;

    }

}
