package com.yolo.keyboard.controller.admin.userquotatotal.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.yolo.keyboard.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.yolo.keyboard.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 用户免费功能永久总次数额度表（所有功能共用）分页 Request VO")
@Data
public class KeyboardUserQuotaTotalPageReqVO extends PageParam {

    @Schema(description = "免费体验的永久总次数上限（可通过运营活动增加）")
    private Integer totalQuota;

    @Schema(description = "已消耗的免费次数")
    private Integer usedQuota;

    @Schema(description = "乐观锁版本号（并发控制预留字段）")
    private Integer version;

    @Schema(description = "首次创建额度记录的时间（通常为注册时间）")
    private LocalDateTime createdAt;

    @Schema(description = "最近一次额度发生变化的时间（消耗或赠送）")
    private LocalDateTime updatedAt;

}