Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sealed class Report {
- abstract val uuid: String
- abstract val date: String
- }
- data class HourlyReport(
- override val uuid: String,
- override val date: String,
- val hours: Int) : Report()
- data class DailyReport(
- override val uuid: String,
- override val date: String) : Report()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement