initially added Content interface and TextContent child interface
This commit is contained in:
parent
7666f91d29
commit
ebe66cf614
@ -0,0 +1,9 @@
|
||||
package com.github.insanusmokrassar.postssystem.core.content
|
||||
|
||||
import org.joda.time.DateTime
|
||||
|
||||
typealias ContentId = String
|
||||
|
||||
interface Content {
|
||||
val id: ContentId
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
package com.github.insanusmokrassar.postssystem.core.content
|
||||
|
||||
interface TextContent : Content {
|
||||
val text: String
|
||||
}
|
Loading…
Reference in New Issue
Block a user