package com.liquidnet.common.third.easemob.dto;

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

import java.time.LocalDateTime;

/**
 * @author AnJiabin <anjiabin@zhengzai.tv>
 * @version V1.0
 * @Description: TODO
 * @class: CreateUserRespDto
 * @Package com.liquidnet.common.third.easemob.dto
 * @Copyright: LightNet @ Copyright (c) 2021
 * @date 2021/9/7 14:31
 */
@Data
public class CreateUserRespDto {
    @JsonProperty("uuid")
    private String uuid;

    @JsonProperty("type")
    private String type;

    @JsonProperty("created")
    private LocalDateTime created;

    @JsonProperty("modified")
    private LocalDateTime modified;

    @JsonProperty("username")
    private String username;

    @JsonProperty("activated")
    private boolean activated;

    @Override
    public String toString() {
        return "UserResource{" +
                "username='" + username + '\'' +
                ", uuid='" + uuid + '\'' +
                ", type='" + type + '\'' +
                ", created='" + created + '\'' +
                ", modified='" + modified + '\'' +
                ", activated=" + activated +
                '}';
    }
}
