huliguo
2025-04-23 f2070facdb5715e7349df69cfe257289c680d292
ruoyi-api/ruoyi-api-account/src/main/java/com/ruoyi/account/api/model/AppUser.java
@@ -87,23 +87,27 @@
    private LocalDateTime lastLoginTime;
    @ApiModelProperty(value = "绑定门店id")
    @ApiModelProperty(value = "门店id")
    @TableField("shop_id")
    private Integer shopId;
    @ApiModelProperty(value = "绑定门店名称")
    @ApiModelProperty(value = "门店名称")
    @TableField(exist = false)
    private String shopName;
    @ApiModelProperty(value = "绑定门店列表")
    @ApiModelProperty(value = "门店列表")
    @TableField(exist = false)
    private List<String> shopNames;
    @ApiModelProperty(value = "绑定门店封面")
    @ApiModelProperty(value = "门店封面")
    @TableField(exist = false)
    private String shopCover;
    @ApiModelProperty(value = "绑定门店地址")
    @ApiModelProperty(value = "门店地址")
    @TableField(exist = false)
    private String shopAddress;
    @ApiModelProperty(value = "消费总金额")
    @ApiModelProperty(value = "门店状态(0-未拥有门店,1-正常,2-冻结)")
    @TableField(exist = false)
    private Integer shopStatus;
    @ApiModelProperty(value = "消费总金额(微信支付总金额)")
    @TableField("shop_amount")
    private BigDecimal shopAmount;
@@ -121,7 +125,7 @@
    @ApiModelProperty(value = "充值积分")
    @TableField("recharge_point")
    private BigDecimal rechargePoint;
    private Integer rechargePoint;
    @ApiModelProperty(value = "取消订单积分")
@@ -177,7 +181,9 @@
    private String qrCode;
    @ApiModelProperty("消费绿电分数")
    @TableField(exist = false)
    private Integer customPoint;
    @ApiModelProperty("绑定门店id列表")
    @TableField(exist = false)
@@ -193,20 +199,14 @@
    @TableField(exist = false)
    private Set<Long> userIds;
    @TableField(exist = false)
    private Integer excludeStatus;
    public String getIdStr(){
        return String.valueOf(id);
    }
    public Integer getUserTotalPoint(){
        if (totalPoint == null){
            totalPoint = 0;
        }
        return totalPoint ;
    }