package com.cyksj.model.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ejlchina.searcher.bean.DbField;
import lombok.Data;

import java.util.Date;

/**
 * @author chan
 * @date 2024/8/8 18:36
 */
@Data
public class ClaudeUser extends BaseEntity {
    private String name;

    @DbField("userToken")
    @TableField("userToken")
    private String userToken;

    @TableField("expireTime")
    private Date expireTime;

    @TableField("isPlus")
    private Boolean isPlus;

    private String remark;

    /**
     * 车票id
     */
    @TableField("relationId")
    private Long relationId;

    /**
     * 限制次数
     */
    private Integer limitNum;

    /**
     * 限制时间
     */
    private Long limitTime;


    /**
     * 是否封禁
     */
    private Boolean isBlock;

    /**
     * 目前套餐包id
     */
    private Long packageId;

    /**
     * 续费升级订单id
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long renewOrderId;

    /**
     * 目前续费规格id
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long renewSkuId;

    /**
     * 续费升级过期时间
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Date renewExpiryTime;

    /**
     * 是否是VIP
     */
    private Boolean isVip;
}
