package com.xueyi.system.digitalmans.domain.po;

import com.xueyi.common.core.web.tenant.base.TBaseEntity;
import com.xueyi.system.digitalmans.domain.dto.DmQAndADto;
import com.xueyi.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

import static com.xueyi.common.core.constant.basic.EntityConstants.SORT;
import static com.xueyi.common.core.constant.basic.EntityConstants.REMARK;

/**
 * 企业知识库问答 持久化对象
 *
 * @author yinruoxi
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "dm_q_and_a", excludeProperty = { SORT, REMARK })
public class DmQAndAPo extends TBaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /** 数字人ID */
    @Excel(name = "数字人ID")
    protected Long manId;

    /** 问题种类 */
    @Excel(name = "问题种类")
    protected Integer type;

    /** 问题ID */
    @Excel(name = "问题ID")
    protected Long knowledgeId;

    /** 回答 */
    @Excel(name = "回答")
    protected String answer;

    /** 状态(0:正常；1:停用） */
    @Excel(name = "状态(0:正常；1:停用）")
    protected String status;

}