You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
368 B
13 lines
368 B
package com.pqh.qqbot
|
|
|
|
import org.springframework.data.annotation.Id
|
|
import org.springframework.data.mongodb.core.mapping.Document
|
|
import java.util.*
|
|
|
|
|
|
|
|
@Document("message")
|
|
data class MySqlMessage(@Id val id:String?=null,val senderId:Long, val time:Int,val botId:Long)
|
|
|
|
@Document("sub")
|
|
data class MySqlSubMessage(val subId:String,val message:String, val type:String) |