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
358ac8aa
Commit
358ac8aa
authored
Nov 05, 2019
by
Vladislav Bogdashkin
🎣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deal entity
parent
54ce9ee8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
107 additions
and
3 deletions
+107
-3
Deal.kt
.../visual/roompark/data/repository/db/requrey/model/Deal.kt
+25
-0
Estate.kt
...isual/roompark/data/repository/db/requrey/model/Estate.kt
+45
-3
Explication.kt
.../roompark/data/repository/db/requrey/model/Explication.kt
+19
-0
planType.kt
...java/com/biganto/visual/roompark/domain/model/planType.kt
+18
-0
No files found.
app/src/main/java/com/biganto/visual/roompark/data/repository/db/requrey/model/Deal.kt
0 → 100644
View file @
358ac8aa
package
com.biganto.visual.roompark.data.repository.db.requrey.model
import
io.requery.Entity
import
io.requery.ForeignKey
import
io.requery.Key
import
io.requery.Persistable
/**
* Created by Vladislav Bogdashkin on 05.11.2019.
*/
@Entity
interface
Deal
:
Persistable
{
@get
:
Key
val
id
:
String
val
estateCrmId
:
String
val
opportunitySum
:
Int
val
paymentSum
:
Int
val
amountPaySum
:
Int
val
statusId
:
Int
val
managerName
:
String
@get
:
ForeignKey
(
references
=
Estate
::
class
)
var
estate
:
Estate
}
\ No newline at end of file
app/src/main/java/com/biganto/visual/roompark/data/repository/db/requrey/model/Estate.kt
View file @
358ac8aa
package
com.biganto.visual.roompark.data.repository.db.requrey.model
import
io.requery.Entity
import
io.requery.Key
import
io.requery.Persistable
import
io.requery.*
/**
* Created by Vladislav Bogdashkin on 29.10.2019.
...
...
@@ -14,4 +12,48 @@ interface Estate : Persistable {
@get
:
Key
val
id
:
Int
val
type
:
String
val
number
:
String
@get
:
Nullable
val
sectionBegin
:
Int
?
@get
:
Nullable
val
sectionEnd
:
Int
?
@get
:
Nullable
val
planJpgUrl
:
String
?
@get
:
Nullable
val
planJpgWidth
:
Int
?
@get
:
Nullable
val
planJpgHeight
:
Int
?
@get
:
Nullable
val
planPngUrl
:
String
?
@get
:
Nullable
val
planPngWidth
:
Int
?
@get
:
Nullable
val
planPngHeight
:
Int
?
@get
:
Nullable
val
rooms
:
Int
?
@get
:
Nullable
val
albumId
:
Int
?
@get
:
Nullable
val
multitourId
:
Int
?
val
info_building
:
Int
val
info_section_begin
:
Int
val
info_floor
:
Int
@get
:
OneToMany
val
explications
:
Set
<
Explication
>?
val
info_floor_max
:
Int
@get
:
Nullable
val
url
:
String
?
@get
:
Nullable
val
info_area
:
Float
?
@get
:
Nullable
val
info_area_living
:
Float
?
@get
:
Nullable
val
info_kind
:
String
?
@get
:
Nullable
val
info_dependent
:
Boolean
?
@get
:
Nullable
val
info_decoration
:
String
?
}
\ No newline at end of file
app/src/main/java/com/biganto/visual/roompark/data/repository/db/requrey/model/Explication.kt
0 → 100644
View file @
358ac8aa
package
com.biganto.visual.roompark.data.repository.db.requrey.model
import
io.requery.*
/**
* Created by Vladislav Bogdashkin on 24.09.2019.
*/
@Entity
interface
Explication
:
Persistable
{
@get
:
Key
@get
:
Generated
val
id
:
Int
@get
:
ForeignKey
(
references
=
PlanPreset
::
class
)
val
planId
:
Int
val
living
:
Boolean
val
area
:
Float
val
title
:
String
}
app/src/main/java/com/biganto/visual/roompark/domain/model/planType.kt
0 → 100644
View file @
358ac8aa
package
com.biganto.visual.roompark.domain.model
/**
* Created by Vladislav Bogdashkin on 24.09.2019.
*/
data class
PlanTypeModel
(
val
id
:
Int
,
val
planTypeId
:
Int
,
val
estateId
:
Int
,
val
features
:
List
<
FeatureStatus
>,
val
uri
:
String
)
data class
FeatureStatus
(
val
featureName
:
String
,
val
switchedOn
:
Boolean
)
\ 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