Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
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
54ce9ee8
Commit
54ce9ee8
authored
Nov 05, 2019
by
Vladislav Bogdashkin
🎣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
estate plan model
parent
d5f044f7
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
55 additions
and
2 deletions
+55
-2
IRoomParkMobileApi.kt
...ompark/data/repository/api/retrofit/IRoomParkMobileApi.kt
+1
-1
Article.kt
...sual/roompark/data/repository/db/requrey/model/Article.kt
+1
-1
Estate.kt
...isual/roompark/data/repository/db/requrey/model/Estate.kt
+17
-0
PlanPreset.kt
...l/roompark/data/repository/db/requrey/model/PlanPreset.kt
+22
-0
TourContract.kt
...m/biganto/visual/roompark/domain/contract/TourContract.kt
+13
-0
CustomException.kt
...isual/roompark/domain/custom_exception/CustomException.kt
+1
-0
No files found.
app/src/main/java/com/biganto/visual/roompark/data/repository/api/retrofit/IRoomParkMobileApi.kt
View file @
54ce9ee8
...
...
@@ -246,7 +246,7 @@ interface IRoomParkMobileApi{
@Query
(
DIRECT_PLAN_SIZES_PARAM
)
sizes
:
Int
,
@Query
(
DIRECT_PLAN_WALLS_PARAM
)
walls
:
Int
,
@Query
(
DIRECT_PLAN_ELECTRIC_PARAM
)
electric
:
Int
):
Observable
<
Response
<
List
<
PlanRaw
>>>
):
Observable
<
Response
<
List
<
String
>>>
@GET
(
"$API_URL$GET_MULTITOUR_ID$DELIMITER"
)
...
...
app/src/main/java/com/biganto/visual/roompark/data/repository/db/requrey/model/Article.kt
View file @
54ce9ee8
...
...
@@ -24,7 +24,7 @@ interface Article : Persistable {
val
body
:
String
?
@get
:
ForeignKey
(
references
=
Feed
::
class
,
referencedColumn
=
"alias"
)
@get
:
ManyToOne
val
feed
_alias
:
Feed
val
feed
:
Feed
@get
:
Convert
(
TitledPhotoListConverter
::
class
)
val
photo
:
List
<
TitledPhoto
>?
}
\ No newline at end of file
app/src/main/java/com/biganto/visual/roompark/data/repository/db/requrey/model/Estate.kt
0 → 100644
View file @
54ce9ee8
package
com.biganto.visual.roompark.data.repository.db.requrey.model
import
io.requery.Entity
import
io.requery.Key
import
io.requery.Persistable
/**
* Created by Vladislav Bogdashkin on 29.10.2019.
*/
@Entity
interface
Estate
:
Persistable
{
@get
:
Key
val
id
:
Int
}
\ No newline at end of file
app/src/main/java/com/biganto/visual/roompark/data/repository/db/requrey/model/PlanPreset.kt
0 → 100644
View file @
54ce9ee8
package
com.biganto.visual.roompark.data.repository.db.requrey.model
import
com.biganto.visual.roompark.data.repository.db.requrey.utils.StringListConverter
import
io.requery.*
/**
* Created by Vladislav Bogdashkin on 29.10.2019.
*/
@Entity
interface
PlanPreset
:
Persistable
{
@get
:
Key
@get
:
Generated
val
id
:
Int
@get
:
ForeignKey
(
references
=
Estate
::
class
)
var
estateId
:
Estate
val
planId
:
Int
val
title
:
String
@get
:
Convert
(
StringListConverter
::
class
)
val
features
:
List
<
String
>
}
\ No newline at end of file
app/src/main/java/com/biganto/visual/roompark/domain/contract/TourContract.kt
0 → 100644
View file @
54ce9ee8
package
com.biganto.visual.roompark.domain.contract
import
com.biganto.visual.roompark.domain.model.AuthInfoModel
import
io.reactivex.Observable
/**
* Created by Vladislav Bogdashkin on 24.09.2019.
*/
interface
TourContract
{
fun
getMultiTourId
(
building
:
Int
,
number
:
Int
)
:
Observable
<
AuthInfoModel
>
fun
getOffer
(
offerId
:
Int
)
:
Observable
<
AuthInfoModel
>
}
\ No newline at end of file
app/src/main/java/com/biganto/visual/roompark/domain/custom_exception/CustomException.kt
View file @
54ce9ee8
...
...
@@ -4,6 +4,7 @@ import androidx.annotation.StringRes
import
com.biganto.visual.roompark.R
import
com.biganto.visual.roompark.data.repository.api.retrofit.raw.ErrorRaw
/**
* Created by Vladislav Bogdashkin on 09.04.2019.
*/
...
...
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