xiangpei
2025-05-09 641b4a3b1572f3a75ce0bd7d645e34252237cf9c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package cn.lili.modules.system.entity.dos;
 
import cn.lili.mybatis.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
 
/**
 * 敏感词实体
 * @author Bulbasaur
 * 2020-02-25 14:10:16
 */
@Data
@TableName("li_sensitive_words")
@ApiModel(value = "敏感词")
public class SensitiveWords extends BaseEntity {
 
    /**
     * 敏感词名称
     */
    @ApiModelProperty(value = "敏感词名称")
    @NotEmpty(message = "敏感词必填")
    @Size(min = 2, max = 20)
    private String sensitiveWord;
 
}