package com.bcxin.identify.business.domain;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.io.Serializable;

/**
 * <b> Im限定日期关键字查询缓存数据模板库 </b>
 * @author ZXF
 * @create 2021/11/22 0022 16:21
 * @version
 * @注意事项 </b>
 */
@Data
@TableName("im_roammsg_temp")
public class ImRoammsgTemp extends Model<ImRoammsgTemp> {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId(type = IdType.ID_WORKER)
	private Long oid;

	private String fromAccount;

	private String toAccount;

	private String textMsg;

	/**
	 * 请求状态
	 */
	private String content;

	/**
	 * 批次编码（时间戳 秒级）
	 */
	private Integer pcNo;

	@Override
	protected Serializable pkVal() {
		return this.oid;
	}

}
