package com.template.model.pojo;

import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnore;
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;

/**
 * <p>
 *
 * </p>
 *
 * @author ceshi
 * @since 2024-11-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "AlumniClub对象", description = "")
public class AlumniClub implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "组织名称")
    private String name;

    @ApiModelProperty(value = "分类ID")
    private Integer categoryId;

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

    @ApiModelProperty(value = "分类名称")
    private String categoryName;

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

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

    @ApiModelProperty(value = "管理员ID 多个管理员用逗号隔开")
    @JsonIgnore
    private String admin;

    @ApiModelProperty(value = "管理员名称 多个管理员用逗号隔开")
    @JsonIgnore
    private String adminName;

    @ApiModelProperty(value = "管理员ID 多个管理员用逗号隔开")
    @TableField(exist = false)
    private List<UserVo> admins;

    @ApiModelProperty(value = "人数")
    private Integer number;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "创建人员名称")
    @TableField(exist = false)
    private String createUserName;

    @ApiModelProperty(value = "创建人员名称")
    @TableField(exist = false)
    private Integer isPass;

    @ApiModelProperty(value = "创建人员名称")
    @TableField(exist = false)
    private String passTime;


    @ApiModelProperty(value = "创建人员")
    @TableField(fill = FieldFill.INSERT)
    private String createUser;

    @ApiModelProperty(value = "更新人员")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateUser;

    @ApiModelProperty(value = "逻辑删除 未删除：0；删除：1")
    @TableField(fill = FieldFill.INSERT)
    @TableLogic
    private Integer deleted;


}
