package com.gxwebsoft.shop.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 
 *
 * @author 科技小王子
 * @since 2025-01-11 10:45:13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "ShopUsers对象", description = "")
public class ShopUsers implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "用户唯一小程序id")
    private String openId;

    @Schema(description = "小程序用户秘钥")
    private String sessionKey;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "头像地址")
    private String avatarUrl;

    @Schema(description = "1男，2女")
    private Boolean gender;

    @Schema(description = "国家")
    private String country;

    @Schema(description = "省份")
    private String province;

    @Schema(description = "城市")
    private String city;

    @Schema(description = "手机号码")
    private String phone;

    @Schema(description = "积分")
    private BigDecimal integral;

    @Schema(description = "余额")
    private BigDecimal money;

    @Schema(description = "排序号")
    private Integer sortNumber;

    @Schema(description = "注册时间")
    private Integer createTime;

    private String idCard;

    private String realName;

    @Schema(description = "是否管理员：1是；2否")
    private Boolean isAdmin;

    @Schema(description = "租户id")
    private Integer tenantId;

}
