package com.tzld.piaoquan.api.model.param.wecom.thirdpart;

import lombok.Data;

import java.util.List;

@Data
public class GetInnerContactsResponse {
    private List<ContactItem> list;
    private String seq;

    @Data
    public static class ContactItem {
        // 部门相关字段
        private Integer disp_order;
        private Long corpid;
        private String party_name;
        private Long create_time;
        private String remark;
        private Long partyid;
        private Integer type;
        private Integer is_Department;
        private Long parentid;
        private Integer status;

        // 用户相关字段
        private String unionid;
        private Integer sex;
        private String mobile;
        private String acctid;
        private String avatar;
        private String english_name;
        private String realname;
        private List<SelfAttrInfo> SelfAttrInfo;
        private Long user_id;
        private String nickname;
        private String position;
        private Long corp_id;

    }

    @Data
    public static class SelfAttrInfo {
        private String filed_name;
        private String filed_value;
        private String field_id;
        private Integer field_type;

    }
}
