/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package cn.ysk.cashier.dto;

import lombok.Data;
import java.math.BigDecimal;
import java.io.Serializable;

/**
* @website https://eladmin.vip
* @description /
* @author lyf
* @date 2023-11-13
**/
@Data
public class TbUserInfoDto implements Serializable {

    /** id */
    private Integer id;

    /** 钱包余额 */
    private BigDecimal amount;

    /** 累计充值 */
    private BigDecimal chargeAmount;

    /** 授信额度 */
    private BigDecimal lineOfCredit;

    private BigDecimal consumeAmount;

    /** 消费次数累计 */
    private Integer consumeNumber;

    /** 总积分 */
    private Integer totalScore;

    /** 锁定积分 */
    private Integer lockScore;

    /** 会员卡号 */
    private String cardNo;

    /** 会员密码 */
    private String cardPassword;

    /** 等级 */
    private String levelId;

    /** 用户头像 */
    private String headImg;

    /** 用户昵称 */
    private String nickName;

    /** 电话号码 */
    private String telephone;

    /** 小程序Id */
    private String wxMaAppId;

    /** 会员生日 */
    private String birthDay;

    /** 0-女 1男 */
    private Integer sex;

    /** 小程序的openId */
    private String miniAppOpenId;

    /** 公众号openId */
    private String openId;

    /** 联合Id */
    private String unionId;

    /** 用户编号 */
    private String code;

    /** 用户类型-保留字段 */
    private String type;

    /** 'DOCTOR'-->医生，'USER'->用户 */
    private Integer identify;

    /** 1正常 */
    private Integer status;

    /** 引荐人 */
    private String parentId;

    private String parentLevel;

    /** 上家类开型，店铺-SHOP/ 个人- PERSON */
    private String parentType;

    /** 关注进入的活动Id */
    private String projectId;

    /** 商户Id */
    private String merchantId;

    /** 0未认证，1认证 */
    private Integer isResource;

    /** 是否在线 */
    private Integer isOnline;

    private Integer isVip;

    private Integer vipEffectAt;

    private String tips;

    /** 用户来源：公众号 WECHAT  小程序 WECHAT-APP 手机注册 TELEPHONE */
    private String sourcePath;

    /** 是否推广员 1 是 0不是 */
    private Integer isSalesPerson;

    /** 是否关注公众号 */
    private Integer isAttentionMp;

    /** 城市 */
    private String city;

    private String searchWord;

    /** 最近登陆时间 */
    private Long lastLogInAt;

    private Long lastLeaveAt;

    private Long createdAt;

    private Long updatedAt;

    /** 绑定时间 */
    private Long bindParentAt;

    /** 上上家 */
    private String grandParentId;
}