Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Room Park Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav Bogdashkin
Room Park Android
Commits
54c57f62
Commit
54c57f62
authored
Sep 23, 2019
by
Vladislav Bogdashkin
🎣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added deals model
parent
30b0cdde
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
100 additions
and
1 deletion
+100
-1
albums.kt
...n/java/com/biganto/visual/roompark/domain/model/albums.kt
+35
-0
deals.kt
...in/java/com/biganto/visual/roompark/domain/model/deals.kt
+41
-0
feeds.kt
...in/java/com/biganto/visual/roompark/domain/model/feeds.kt
+11
-1
webCamList.kt
...va/com/biganto/visual/roompark/domain/model/webCamList.kt
+13
-0
No files found.
app/src/main/java/com/biganto/visual/roompark/domain/model/albums.kt
0 → 100644
View file @
54c57f62
package
com.biganto.visual.roompark.domain.model
import
java.util.*
/**
* Created by Vladislav Bogdashkin on 23.09.2019.
*/
data class
AlbumPreviewModel
(
val
albumId
:
Int
,
val
parentId
:
Int
,
val
published
:
Date
,
val
title
:
String
,
val
previewUrl
:
String
,
val
isRead
:
Boolean
)
data class
PhotoListModel
(
val
items
:
List
<
PhotoModel
>)
data class
PhotoModel
(
val
photoId
:
Int
,
val
albumId
:
Int
,
val
description
:
String
,
val
sort
:
Int
,
val
resolutionList
:
List
<
PhotoResolutionModel
>
)
data class
PhotoResolutionModel
(
val
resName
:
String
,
val
url
:
String
,
val
resWidth
:
Int
,
val
resHeight
:
Int
)
\ No newline at end of file
app/src/main/java/com/biganto/visual/roompark/domain/model/deals.kt
0 → 100644
View file @
54c57f62
package
com.biganto.visual.roompark.domain.model
/**
* Created by Vladislav Bogdashkin on 23.09.2019.
*/
data class
DealListModel
(
val
deals
:
List
<
DealListModel
>)
data class
DealModel
(
val
id
:
Int
,
val
estate_id
:
Int
,
val
opportunitySum
:
Float
,
val
paymentSum
:
Float
,
val
amount_pay_sum
:
Float
,
val
statusId
:
Int
,
val
managerName
:
String
,
val
estate
:
EstateModel
)
data class
EstateModel
(
val
type
:
String
,
val
number
:
String
,
val
building
:
Int
,
val
sectionBegin
:
Int
?=
null
,
val
sectionEnd
:
Int
?=
null
,
val
floor
:
Int
,
val
area
:
Float
,
val
planPNG
:
PlanModel
,
val
planJPG
:
PlanModel
,
val
dependent
:
Boolean
?=
null
,
val
rooms
:
Int
?=
null
,
val
albumId
:
Int
?=
null
,
val
multitourId
:
Int
?=
null
)
data class
PlanModel
(
val
url
:
String
,
val
width
:
Int
,
val
height
:
Int
)
\ No newline at end of file
app/src/main/java/com/biganto/visual/roompark/domain/model/feeds.kt
View file @
54c57f62
...
@@ -20,4 +20,14 @@ data class ArticlePreviewModel(
...
@@ -20,4 +20,14 @@ data class ArticlePreviewModel(
val
isRead
:
Boolean
val
isRead
:
Boolean
)
)
data class
ArticlesPreviewModel
(
val
parentFeedId
:
Int
,
val
articles
:
List
<
ArticlePreviewModel
>)
data class
ArticlesPreviewModel
(
val
parentFeedId
:
Int
,
val
articles
:
List
<
ArticlePreviewModel
>)
\ No newline at end of file
data class
ArticleModel
(
val
articleId
:
Int
,
val
published
:
Date
,
val
title
:
String
,
val
htmlBody
:
String
,
val
previewUrl
:
String
,
val
isRead
:
Boolean
)
\ No newline at end of file
app/src/main/java/com/biganto/visual/roompark/domain/model/webCamList.kt
0 → 100644
View file @
54c57f62
package
com.biganto.visual.roompark.domain.model
/**
* Created by Vladislav Bogdashkin on 23.09.2019.
*/
data class
WebCamModel
(
val
title
:
String
,
val
index
:
Int
,
val
streamUrl
:
String
)
data class
WebCamListModel
(
val
items
:
List
<
WebCamListModel
>)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment