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

import lombok.Data;

@Data
public class LoginInfo {
    private Long logintime;
    private Integer loginType;
    private UserInfo user_info;
    private String uuid;

    @Data
    public static class UserInfo {
        private UserObject object;
        private Long userid;
        private String clientId;
        private Long updateTime;
        private String uuid;
        private String requrl;
        private Boolean isLogin;

        public Boolean getIsLogin() {
            return isLogin;
        }

        public void setIsLogin(Boolean isLogin) {
            this.isLogin = isLogin;
        }
    }

    @Data
    public static class UserObject {
        private String unionid;
        private Long create_time;
        private Integer sex;
        private String mobile;
        private String acctid;
        private String scorp_id;
        private String avatar;
        private String corp_name;
        private String english_name;
        private String realname;
        private Long user_id;
        private String nickname;
        private String position;
        private Long corp_id;
        private String corp_full_name;
        private String corp_desc;
    }
}
