From a868d8ccc4c077947dc5a700f0a23df383ff6ebc Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Thu, 06 Feb 2025 13:58:09 +0800 Subject: [PATCH] feat(OrderDetailVo): 添加支付状态字段并优化属性注释 --- src/main/java/cc/mrbird/febs/mall/vo/MallMemberVo.java | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 54 insertions(+), 1 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 b7b5764..45e2800 100644 --- a/src/main/java/cc/mrbird/febs/mall/vo/MallMemberVo.java +++ b/src/main/java/cc/mrbird/febs/mall/vo/MallMemberVo.java @@ -1,9 +1,11 @@ package cc.mrbird.febs.mall.vo; +import cc.mrbird.febs.vip.entity.MallVipConfig; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; +import org.springframework.format.annotation.DateTimeFormat; import java.math.BigDecimal; import java.util.Date; @@ -27,7 +29,7 @@ @ApiModelProperty(value = "性别") private String sex; - @ApiModelProperty(value = "邀请码") + @ApiModelProperty(value = "邀请码(如果是团长,邀请码就是团长特征码)") private String inviteId; @ApiModelProperty(value = "头像") @@ -39,6 +41,7 @@ @ApiModelProperty(value = "代理等级") private String levelName; + @ApiModelProperty(value = "推荐人昵称") private String referrerName; private String level; @@ -53,4 +56,54 @@ 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; + + @ApiModelProperty(value = "绑定手机号") + private String bindPhone; + + @ApiModelProperty(value = "累计消费") + private BigDecimal totalCost; + + @ApiModelProperty(value = "赠送积分") + private BigDecimal score; + + @ApiModelProperty(value = "抽奖积分") + private BigDecimal prizeScore; + + @ApiModelProperty(value = "是否是团长 1: 是 2:否") + private Integer isTeamLeader; + + @ApiModelProperty(value = "是否是代理 1: 申请中 2:是 3:否") + private Integer isAgent; + + @ApiModelProperty(value = "代理名称") + private String agentLevelName; + + @ApiModelProperty(value = "代理等级数字 1:一级 2:二级 3:三级") + private Integer agentLevel; + + @ApiModelProperty(value = "收藏数量") + private Integer collectionCnt; + + @ApiModelProperty(value = "足迹数量") + private Integer footprintCnt; + + @ApiModelProperty(value = "足迹数量") + private Integer childCnt; + + @ApiModelProperty(value = "是否是推销员") + private Integer isSale; + + @ApiModelProperty(value = "会员信息") + private MallVipConfig vipInfo; + + + @ApiModelProperty(value = "生日") + @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") + private Date birthday; } -- Gitblit v1.9.1