package cn.axzo.msg.center.domain.entity;

import cn.axzo.msg.center.domain.persistence.BaseEntityExt;
import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @author cold_blade
 * @date 2023/10/21
 * @version 1.0
 */
@Setter
@Getter
@TableName("message_send_twice_record")
public class MessageSendTwiceRecord extends BaseEntityExt<MessageSendTwiceRecord> implements Serializable {

    private static final long serialVersionUID = 3517821492158061709L;

    /**
     * 原有消息记录id
     */
    private Long originalMsgId;
    /**
     * 接收者自然人 ID
     */
    private Long receiverPersonId;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
