initially added Content interface and TextContent child interface
This commit is contained in:
@@ -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
|
||||||
|
}
|
Reference in New Issue
Block a user