mitao
2024-08-16 d7dc4db8d005a58f51d21d35147317762a16373f
ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/domain/Member.java
@@ -6,15 +6,16 @@
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.core.enums.GenderEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 * 会员表
@@ -43,24 +44,30 @@
    private String avatar;
    @ApiModelProperty(value = "会员姓名")
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private String realName;
    @ApiModelProperty(value = "身份证号")
    private String idNumber;
    @ApiModelProperty(value = "联系电话")
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private String phone;
    @ApiModelProperty(value = "性别 0=女,1=男,2=未知")
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private GenderEnum gender;
    @ApiModelProperty(value = "等级")
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private Integer level;
    @ApiModelProperty(value = "会员积分")
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private Integer totalPoints;
    @ApiModelProperty(value = "已用积分")
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private Integer usedPoints;
    @ApiModelProperty(value = "微信openid")
@@ -84,7 +91,7 @@
    private LocalDateTime createTime;
    @ApiModelProperty(value = "更新者")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    @TableField(value = "update_by", fill = FieldFill.INSERT_UPDATE)
    private String updateBy;
    @ApiModelProperty(value = "更新时间")
@@ -96,8 +103,14 @@
    private Integer delFlag;
    @ApiModelProperty(value = "1未认证,2已认证")
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private Integer isAuthentication;
    @ApiModelProperty(value = "后台对应id")
    private  Long userId;
    @ApiModelProperty(value = "用户消费金额")
    private BigDecimal money;
}