package com.emoon.knowledge.domain.bo;

import com.emoon.common.core.validate.validate.AddGroup;
import com.emoon.common.core.validate.validate.EditGroup;
import com.emoon.common.mybatis.core.domain.BaseEntity;
import com.emoon.knowledge.domain.ThinkAskinfo;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 请求记录业务对象 think_askinfo
 *
 * @author wangkang
 * @date 2025-11-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = ThinkAskinfo.class, reverseConvertGenerate = false)
public class ThinkAskinfoBo extends BaseEntity {

    /**
     * 主键索引
     */
    private Long id;

    /**
     * 短令牌
     */
    private String token;

    /**
     * 实际内容
     */
    private String decrypt;

    /**
     * 加密内容
     */
    private String encryption;

    /**
     * 时间
     */
    private Long time;

    /**
     * 回复记录
     */
    @NotBlank(message = "回复记录不能为空", groups = { AddGroup.class, EditGroup.class })
    private String reply;

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


}
