package com.template.model.request;

import com.template.model.vo.UserVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import net.bytebuddy.implementation.bind.annotation.Empty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author ceshi
 * @since 2024-10-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="新增Club对象", description="")
public class insertClubRequest implements Serializable {

    @ApiModelProperty(value = "组织名称")
    @NotBlank(message = "组织名称不能为空")
    private String name;

    @ApiModelProperty(value = "所属分类")
    @NotNull(message = "所属分类不能为空")
    private Integer categoryId;

    @ApiModelProperty(value = "所属分类名称")
    @NotBlank(message = "所属分类名称不能为空")
    private String categoryName;

    @ApiModelProperty(value = "是否置顶 是：1 否：2")
    private Integer isTop;

    @ApiModelProperty(value = "人数")
    @NotNull(message = "人数不能为空")
    private Integer number;

    @ApiModelProperty(value = "本会简介")
    private String description;

    @ApiModelProperty(value = "联系我们")
    private String contact;

    @ApiModelProperty(value = "管理员集合")
    @NotEmpty(message = "管理员集合不能为空")
    private List<UserVo> admins;



}
