package com.liquidnet.service.chime.dto;

import com.liquidnet.commons.lang.util.JsonUtils;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author AnJiabin <anjiabin@zhengzai.tv>
 * @version V1.0
 * @Description: TODO
 * @class: ChimeUserRegisterReqDto
 * @Package com.liquidnet.service.chime.dto
 * @Copyright: LightNet @ Copyright (c) 2021
 * @date 2021/9/8 16:11
 */
@Data
public class ChimeUserUpdateReqDto {
    @ApiModelProperty(position = 0, value = "用户id", example = "")
    private String userId;
    private String sex;
    private String tags;

    @Override
    public String toString(){
        return JsonUtils.toJson(this);
    }

    private static final ChimeUserUpdateReqDto obj = new ChimeUserUpdateReqDto();

    public static ChimeUserUpdateReqDto getNew() {
        try {
            return (ChimeUserUpdateReqDto) obj.clone();
        } catch (CloneNotSupportedException e) {
            return new ChimeUserUpdateReqDto();
        }
    }

}
