All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.blankcat.dto.member.User Maven / Gradle / Ivy

There is a newer version: 2.1.3
Show newest version
package cn.blankcat.dto.member;

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

@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
// Member 群成员
public class User {

    private String id;
    private String username;
    private String avatar;
    private Boolean bot;
    // 特殊关联应用的 openid
    @JsonProperty("union_openid")
    private String unionOpenId;
    // 机器人关联的用户信息,与union_openid关联的应用是同一个
    @JsonProperty("union_user_account")
    private String unionUserAccount;
    @JsonProperty("public_flags")
    private int publicFlags;
    private Boolean system;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy