net.polyv.live.v2.entity.channel.operate.account.LiveDeleteAccountRequest Maven / Gradle / Ivy
The newest version!
package net.polyv.live.v2.entity.channel.operate.account;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import net.polyv.common.v1.validator.constraints.NotNull;
import net.polyv.live.v1.entity.LiveCommonRequest;
/**
* 批量删除角色请求实体
* @author jiangyifan
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel("批量删除角色请求实体")
public class LiveDeleteAccountRequest extends LiveCommonRequest {
/**
* 频道号
*/
@ApiModelProperty(name = "channelId", value = "频道号", required = true)
@NotNull(message = "属性channelId不能为空")
private String channelId;
/**
* 助教/嘉宾账号,多个用英文逗号分割,最大150个
*/
@ApiModelProperty(name = "accounts", value = "助教/嘉宾账号,多个用英文逗号分割,最大150个", required = true)
@NotNull(message = "属性accounts不能为空")
private String accounts;
}