package com.fs.company.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 微信群聊信息表 wx_room
 */
@Data
public class WxRoom {
    private Long id; //主键
    private String roomId;//群聊唯一标识
    private String roomName;//群名称
    private String roomOwnerId;//群主ID
    private Integer chatroomMaxCount;//群聊最大人数
    private Integer memberCount;//群成员数量
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private Date updateTime;

}
