package com.xindazhou.business.dal.community.dataobject.sensitive;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xindazhou.framework.mybatis.core.dataobject.BaseDO;
import lombok.*;

/**
 * 敏感词 DO
 *
 * @author xindazhou
 */
@TableName("community_sensitive_word")
@KeySequence("community_sensitive_word_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SensitiveWordDO extends BaseDO {

    /**
     * 敏感词ID
     */
    @TableId
    private Long id;

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

    /**
     * 类型：1-禁用词，2-替换词
     */
    private Integer type;

    /**
     * 替换词（仅替换词类型）
     */
    private String replaceWord;

    /**
     * 状态：1-启用，2-禁用
     */
    private Integer status;

}

