From e268357d7b54492319f657fef30f9a6c33175c9f Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Sun, 26 Sep 2021 19:07:54 +0800
Subject: [PATCH] 20210926
---
src/main/java/cc/mrbird/febs/mall/vo/MallMemberVo.java | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/src/main/java/cc/mrbird/febs/mall/vo/MallMemberVo.java b/src/main/java/cc/mrbird/febs/mall/vo/MallMemberVo.java
index 7679f6a..9fa0379 100644
--- a/src/main/java/cc/mrbird/febs/mall/vo/MallMemberVo.java
+++ b/src/main/java/cc/mrbird/febs/mall/vo/MallMemberVo.java
@@ -1,25 +1,45 @@
package cc.mrbird.febs.mall.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
+import java.math.BigDecimal;
import java.util.Date;
@Data
+@ApiModel(value = "MallMemberVo", description = "商城用户信息返回类")
public class MallMemberVo {
+ @ApiModelProperty(value = "id")
private Long id;
+ @ApiModelProperty(value = "昵称")
private String name;
+ @ApiModelProperty(value = "手机号")
private String phone;
+ @ApiModelProperty(value = "邮箱")
private String email;
+ @ApiModelProperty(value = "性别")
private String sex;
+ @ApiModelProperty(value = "邀请码")
private String inviteId;
+ @ApiModelProperty(value = "头像")
+ private String avatar;
+
+ @ApiModelProperty(value = "余额")
+ private BigDecimal balance;
+
+ @ApiModelProperty(value = "代理等级")
+ private String levelName;
+
+ @ApiModelProperty(value = "推荐人昵称")
private String referrerName;
private String level;
@@ -34,4 +54,10 @@
public static final int ACCOUNTSTATUS_Y = 1;
public static final int ACCOUNTSTATUS_N = 2;
+ @ApiModelProperty(value = "是否设置收款方式", example = "1是2否")
+ private Integer hasPayment = 2;
+
+ @ApiModelProperty(value = "是否设置交易密码", example = "1是2否")
+ private Integer hasTradePwd = 2;
+
}
--
Gitblit v1.9.1