initially added Content interface and TextContent child interface

This commit is contained in:
InsanusMokrassar 2019-09-20 12:58:45 +06:00
parent 7666f91d29
commit ebe66cf614
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,9 @@
package com.github.insanusmokrassar.postssystem.core.content
import org.joda.time.DateTime
typealias ContentId = String
interface Content {
val id: ContentId
}

View File

@ -0,0 +1,5 @@
package com.github.insanusmokrassar.postssystem.core.content
interface TextContent : Content {
val text: String
}