package com.ruoyi.xq.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * VIP用户对象 xq_user_vip
 *
 * @author 77
 * @date 2024-03-04
 */
@Data
@TableName("xq_user_vip")
public class UserVip implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 用户号
     */
    private String usercode;
    /**
     * 1-普通会员 2-黄金会员 3-钻石会员
     */
    private Integer vipType;
    /**
     * 会员到期时间
     */
    private LocalDateTime vipTimeout;
    /**
     * 1-正常 2-已过期 3-已取消
     */
    private Integer vipStatus;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

}
