package org.jk.rag.domain.bo;

import org.jk.common.core.validate.AddGroup;
import org.jk.common.core.validate.EditGroup;
import org.jk.common.mybatis.core.domain.BaseEntity;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.jk.rag.domain.SysTokenLog;

/**
 * 在线人数记录业务对象 sys_token_log
 *
 * @author Lion Li
 * @date 2026-01-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysTokenLog.class, reverseConvertGenerate = false)
public class SysTokenLogBo extends BaseEntity {

    /**
     * 主键ID
     */
    @NotNull(message = "主键ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * token输出数量
     */
    @NotBlank(message = "token输出数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private String tokenSpeed;

    /**
     * 耗时
     */
    @NotBlank(message = "耗时不能为空", groups = { AddGroup.class, EditGroup.class })
    private String elapsedTime;


}
