/*
*  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.shop;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
import java.io.Serializable;

/**
* @website https://eladmin.vip
* @description /
* @author lyf
* @date 2024-03-01
**/
@Data
public class TbShopUserDto implements Serializable {

    /** (随机) */
    private Integer id;

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

    /** 授权金额 */
    private BigDecimal creditAmount;

    /** 消费累计 */
    private BigDecimal consumeAmount;

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

    /** 等级积分 */
    private BigDecimal levelConsume;

    /** 0-不可使用 1可使用 */
    private Integer status;

    /** 代理Id */
    private String merchantId;

    /** 店铺Id */
    private String shopId;

    /** 用户Id */
    private String userId;

    /** 上级Id */
    private String parentId;

    /** 上级的层级 */
    private String parentLevel;

    /** 真实名字 */
    private String name;

    private String headImg;

    /** 性别 */
    private Integer sex;

    /** 生日 */
    private String birthDay;

    /** 联系电话 */
    private String telephone;

    /** 是否会员， */
    private Integer isVip;

    /** 会员编号 */
    private String code;

    /** 是否通过关注而成为会员的，此字段固定后不改 */
    private Integer isAttention;

    /** 关注时间 */
    private Integer attentionAt;

    /** 是否股东（分销商） */
    private Integer isShareholder;

    /** 是否参与优惠券活动 true false */
    private String isOpenYhq;

    /** 层级1-顶级 2-次级 3最低 */
    private Integer level;

    /** 分销类型 auto-自动获取 set手动设置 charge充值 */
    private String distributeType;

    /** 排序 */
    private Integer sort;

    private Long createdAt;

    private Long updatedAt;

    /** 小程序openId */
    private String miniOpenId;
}