All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.polyv.live.v1.entity.chat.LiveBadWordRequest Maven / Gradle / Ivy

The newest version!
package net.polyv.live.v1.entity.chat;

import java.util.List;

import net.polyv.common.v1.validator.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import net.polyv.live.v1.entity.LiveCommonRequest;

/**
 * 批量导入频道严禁词请求实体
 * @author: thomas
 **/
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel("批量导入频道严禁词请求实体")
public class LiveBadWordRequest extends LiveCommonRequest {
    
    /**
     * 频道号,不填则设置为通用设置内的严禁词
     */
    @ApiModelProperty(name = "channelId", value = "频道号,不填则设置为通用设置内的严禁词", required = false)
    private String channelId;
    
    /**
     * 严禁词列表
     */
    @ApiModelProperty(name = "words", value = "严禁词列表", required = true)
    @NotNull(message = "属性words不能为空")
    private List words;
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy