package cn.van.business.model.wx;

import jakarta.persistence.*;
import lombok.Getter;
import lombok.Setter;


@Getter
@Setter
@Entity
@Table(name = "wx_message_data_for_chat")
public class WxMessageDataForChat {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    private Integer id;

    @Column(name = "timeStamp")
    private Long timeStamp;

    @Column(name = "fromType")
    private Integer fromType;

    @Column(name = "msgType")
    private Integer msgType;

    @Column(name = "msgSource")
    private Integer msgSource;

    @Column(name = "fromWxid")
    private String fromWxid;

    @Column(name = "finalFromWxid")
    private String finalFromWxid;

    @Column(name = "atWxidList")
    private String atWxidList;

    @Column(name = "silence")
    private Integer silence;

    @Column(name = "membercount")
    private Integer membercount;

    @Column(name = "signature")
    private String signature;

    @Column(name = "msg", length = 1000)
    private String msg;

    @Column(name = "msgBase64", length = 1000)
    private String msgBase64;

    @Column(name = "msgId")
    private String msgId;

    @Column(name = "msgTypeStr")
    private String msgTypeStr;

}
