package com.cyksj.model.dto;

import com.ejlchina.searcher.bean.DbIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 *
 * @author chan
 * @date 2021-10-18 下午5:24
 */
@Getter
@Setter
@Accessors(chain = true)
public class UserWhoami implements Serializable {
    private String showId;

    /**
     * 名称
     */
    private String nickname;

    private Integer sex;

    /**
     * 头像
     */
    private String headimgurl;

    private String loginPhone;

    private String email;

    /**
     * 1、手机号，2、邮箱，3、微信
     */
    private Integer type;

    private String bindPhone;

    private String bindEmail;

    /**
     * 是否添加过企业微信
     */
    private Boolean isJoinWx = false;

    /**
     * 是否是未下单的用户
     */
    private Boolean isPay;

    /**
     * claude code是否渠道配置了优惠码
     */
    @DbIgnore
    private Boolean ccCode;

    /**
     * claude code是否弹窗
     */
    @DbIgnore
    private Boolean tc;
}
