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.time.LocalDateTime;
import java.util.Date;

/**
 * 群成员对象 wx_room_members
 */
@Data
public class WxRoomMembers {
    private Long id;//主键
    private String roomId;//群聊唯一标识
    private String roomName;//群名称
    private String roomOwnerId;//群主ID
    private String roomMemberId;//群成员wx号
    private String roomMemberName;//群成员wx名称
    private Integer chatroomMemberFlag;//群等级:1普通 9群主
    @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;

}
