package com.ruoyi.system.domain;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Data;
|
|
import java.util.Date;
|
|
@Data
|
@TableName("netease_team")
|
public class NeteaseTeam {
|
/**
|
* 主键ID
|
*/
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 网易云信群ID
|
*/
|
private String tid;
|
|
/**
|
* 群名称
|
*/
|
private String name;
|
|
/**
|
* 群主账号
|
*/
|
private String ownerAccountId;
|
|
/**
|
* 群类型:1-高级群,2-超大群
|
*/
|
private Integer teamType;
|
|
/**
|
* 群头像URL
|
*/
|
private String icon;
|
|
/**
|
* 群公告
|
*/
|
private String announcement;
|
|
/**
|
* 群简介
|
*/
|
private String intro;
|
|
/**
|
* 最大群成员数量
|
*/
|
private Integer membersLimit;
|
|
/**
|
* 服务器扩展字段
|
*/
|
private String serverExtension;
|
|
/**
|
* 客户端扩展字段
|
*/
|
private String customerExtension;
|
|
/**
|
* 扩展字段
|
*/
|
private String extension;
|
|
/**
|
* 入群验证模式:0-无需验证,直接入群,1-需要验证,2-不允许任何人申请入群
|
*/
|
private Integer joinMode;
|
|
/**
|
* 同意模式:0-需要被邀请人同意,1-不需要被邀请人同意
|
*/
|
private Integer agreeMode;
|
|
/**
|
* 邀请权限:0-群主和管理员,1-所有人
|
*/
|
private Integer inviteMode;
|
|
/**
|
* 修改群信息权限:0-群主和管理员,1-所有人
|
*/
|
private Integer updateTeamInfoMode;
|
|
/**
|
* 修改扩展字段权限:0-群主和管理员,1-所有人
|
*/
|
private Integer updateExtensionMode;
|
|
/**
|
* 是否开启安全通
|
*/
|
private Boolean antispamEnabled;
|
|
/**
|
* 安全通业务配置(JSON格式存储)
|
*/
|
private String antispamBusinessConfig;
|
|
/**
|
* 创建时间
|
*/
|
private Date createTime;
|
|
/**
|
* 更新时间
|
*/
|
private Date updateTime;
|
|
/**
|
* 状态:0-正常,1-解散
|
*/
|
private Integer status;
|
|
/**
|
* 群成员数量(需要定期同步更新) 废弃
|
*/
|
private Integer memberCount;
|
|
/**
|
* 群管理员列表(JSON格式存储)
|
*/
|
private String managers;
|
|
/**
|
* 自定义字段,用于存储其他信息
|
*/
|
private String customData;
|
}
|