package org.dromara.ai.domain.vo;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.ai.domain.AiSensitiveWord;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * AI敏感词视图对象 ai_sensitive_word
 *
 * @author pengles
 */
@Data
@EqualsAndHashCode
@AutoMapper(target = AiSensitiveWord.class)
public class AiSensitiveWordVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 敏感词
     */
    private String word;

    /**
     * 词类型(PROFANITY/HATE_SPEECH/VIOLENCE/SEXUAL_CONTENT/ILLEGAL_ACTIVITY/PERSONAL_INFO/SPAM/MALICIOUS_CODE/POLITICAL_SENSITIVE/COMMERCIAL_AD)
     */
    private String wordType;

    /**
     * 词类型（字符串显示）
     */
    private String wordTypeStr;

    /**
     * 是否启用(0=禁用 1=启用)
     */
    private Integer enabled;

    /**
     * 是否启用（字符串显示）
     */
    private String enabledStr;

    /**
     * 优先级(数字越大优先级越高)
     */
    private Integer priority;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 创建者
     */
    private String createBy;

    /**
     * 更新者
     */
    private String updateBy;

}