package com.iformall.domain.po.msg;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import java.util.Date;
import java.util.Map;

@TableName(value = "wx_msg_record")
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class WxMsgRecord extends BaseMsg {
	private static final long serialVersionUID = 18957895653478L;

    protected Long id;
	//msg 消息类型1短信 2回调短信 邮件 3微信小程序模板 4微信公众号模板 5系统通
    @io.swagger.annotations.ApiModelProperty(value="消息类型 1短信 2回调短信 3邮件 4微信小程序模板 5微信公众号模板 6系统通知 7websocket",name="msg")
	private String msg;
    @io.swagger.annotations.ApiModelProperty(value="发送时间",name="sendTime")
	private String sendTime;
    @io.swagger.annotations.ApiModelProperty(value="modelId",name="modelId")
	private Long modelId;
    @io.swagger.annotations.ApiModelProperty(value="from,手机号邮件地址等",name="sender")
	private String sender;
    @io.swagger.annotations.ApiModelProperty(value="发送人id",name="senderUserId")
	private Long senderUserId;
    @io.swagger.annotations.ApiModelProperty(value="发送人姓名",name="senderUserName")
	private String senderUserName;
    @io.swagger.annotations.ApiModelProperty(value="接收人用户id",name="receiverUserId")
	private Long receiverUserId;
    @io.swagger.annotations.ApiModelProperty(value="接收人姓名",name="receiverUserName")
	private String receiverUserName;
    @io.swagger.annotations.ApiModelProperty(value="签名",name="signature")
	private String signature;
    @io.swagger.annotations.ApiModelProperty(value="模板类型",name="modelType")
	private Integer modelType;
    @io.swagger.annotations.ApiModelProperty(value="消息json",name="msgJson")
	private String msgJson;

    @io.swagger.annotations.ApiModelProperty(value="创建时间",name="createtime")
	private Date createtime;
    @io.swagger.annotations.ApiModelProperty(value="更新时间",name="updatetime")
	private Date updatetime;

    @io.swagger.annotations.ApiModelProperty(value="消息状态",name="msgStatus")
	private Integer msgStatus;
    @io.swagger.annotations.ApiModelProperty(value="结果信息",name="statusMessage")
	private String statusMessage;

    @io.swagger.annotations.ApiModelProperty(value="动态替换内容",name="dynamicContentMap")
	private Map<String,String> dynamicContentMap;


}
