Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package co.mailtarget.page.dto
- import co.mailtarget.page.model.PageComponentSection
- import co.mailtarget.page.model.PageRowSection
- import co.mailtarget.page.model.RowSetting
- import java.util.*
- data class RowSectionData(
- var id:String,
- var companyId: String,
- var name: String,
- var thumbnail: String,
- var categories: List<String>,
- var colomType: String,
- var setting: RowSetting,
- val createdAt: Date,
- val componentList: List<PageComponentSection>?
- ) {
- constructor(template: PageRowSection, templateComponent: List<PageComponentSection>?) : this(
- template.id.toString(),
- template.team.id.toString(),
- template.name,
- template.thumbnail,
- template.categories,
- template.colomType,
- template.setting,
- template.createdAt,
- templateComponent)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement