Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CS123-CanteeneoAndroid
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Willard Torres
CS123-CanteeneoAndroid
Commits
b229f697
Commit
b229f697
authored
Nov 23, 2016
by
Willard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor refactoring, add entities for reviews
parent
297f5366
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
90 additions
and
21 deletions
+90
-21
CData.java
app/src/main/java/com/testapp/entities/CData.java
+0
-3
Cuisine.java
app/src/main/java/com/testapp/entities/Cuisine.java
+0
-3
Dish.java
app/src/main/java/com/testapp/entities/Dish.java
+0
-3
DishReview.java
app/src/main/java/com/testapp/entities/DishReview.java
+45
-0
DishType.java
app/src/main/java/com/testapp/entities/DishType.java
+0
-3
Location.java
app/src/main/java/com/testapp/entities/Location.java
+0
-3
Owner.java
app/src/main/java/com/testapp/entities/Owner.java
+0
-3
Stall.java
app/src/main/java/com/testapp/entities/Stall.java
+0
-3
StallReview.java
app/src/main/java/com/testapp/entities/StallReview.java
+45
-0
No files found.
app/src/main/java/com/testapp/entities/CData.java
View file @
b229f697
...
...
@@ -2,9 +2,6 @@ package com.testapp.entities;
import
java.util.List
;
/**
* Created by candy on 10/19/16.
*/
public
class
CData
{
String
date
;
...
...
app/src/main/java/com/testapp/entities/Cuisine.java
View file @
b229f697
package
com
.
testapp
.
entities
;
/**
* Created by candy on 10/19/16.
*/
public
class
Cuisine
{
int
id
;
...
...
app/src/main/java/com/testapp/entities/Dish.java
View file @
b229f697
...
...
@@ -2,9 +2,6 @@ package com.testapp.entities;
import
com.google.gson.annotations.SerializedName
;
/**
* Created by candy on 10/19/16.
*/
public
class
Dish
{
int
id
;
...
...
app/src/main/java/com/testapp/entities/DishReview.java
0 → 100644
View file @
b229f697
package
com
.
testapp
.
entities
;
public
class
DishReview
{
int
id
;
String
title
;
String
body
;
int
rating
;
int
user_id
;
int
dish_id
;
public
DishReview
(
int
id
,
String
title
,
String
body
,
int
rating
,
int
user_id
,
int
dish_id
)
{
this
.
id
=
id
;
this
.
title
=
title
;
this
.
body
=
body
;
this
.
rating
=
rating
;
this
.
user_id
=
user_id
;
this
.
dish_id
=
dish_id
;
}
public
int
getId
()
{
return
id
;
}
public
void
setId
(
int
id
)
{
this
.
id
=
id
;
}
public
String
getTitle
()
{
return
title
;
}
public
void
setTitle
(
String
title
)
{
this
.
title
=
title
;
}
public
String
getBody
()
{
return
body
;
}
public
void
setBody
(
String
body
)
{
this
.
body
=
body
;
}
public
int
getRating
()
{
return
rating
;
}
public
void
setRating
(
int
rating
)
{
this
.
rating
=
rating
;
}
public
int
getUserId
()
{
return
user_id
;
}
public
void
setUserId
(
int
user_id
)
{
this
.
user_id
=
user_id
;
}
public
int
getDishId
()
{
return
dish_id
;
}
public
void
setDishId
(
int
dish_id
)
{
this
.
dish_id
=
dish_id
;
}
}
app/src/main/java/com/testapp/entities/DishType.java
View file @
b229f697
package
com
.
testapp
.
entities
;
/**
* Created by candy on 10/19/16.
*/
public
class
DishType
{
int
id
;
...
...
app/src/main/java/com/testapp/entities/Location.java
View file @
b229f697
package
com
.
testapp
.
entities
;
/**
* Created by candy on 10/19/16.
*/
public
class
Location
{
int
id
;
...
...
app/src/main/java/com/testapp/entities/Owner.java
View file @
b229f697
package
com
.
testapp
.
entities
;
/**
* Created by candy on 10/19/16.
*/
public
class
Owner
{
int
id
;
...
...
app/src/main/java/com/testapp/entities/Stall.java
View file @
b229f697
package
com
.
testapp
.
entities
;
/**
* Created by candy on 10/19/16.
*/
public
class
Stall
{
int
id
;
...
...
app/src/main/java/com/testapp/entities/StallReview.java
0 → 100644
View file @
b229f697
package
com
.
testapp
.
entities
;
public
class
StallReview
{
int
id
;
String
title
;
String
body
;
int
rating
;
int
user_id
;
int
stall_id
;
public
StallReview
(
int
id
,
String
title
,
String
body
,
int
rating
,
int
user_id
,
int
stall_id
)
{
this
.
id
=
id
;
this
.
title
=
title
;
this
.
body
=
body
;
this
.
rating
=
rating
;
this
.
user_id
=
user_id
;
this
.
stall_id
=
stall_id
;
}
public
int
getId
()
{
return
id
;
}
public
void
setId
(
int
id
)
{
this
.
id
=
id
;
}
public
String
getTitle
()
{
return
title
;
}
public
void
setTitle
(
String
title
)
{
this
.
title
=
title
;
}
public
String
getBody
()
{
return
body
;
}
public
void
setBody
(
String
body
)
{
this
.
body
=
body
;
}
public
int
getRating
()
{
return
rating
;
}
public
void
setRating
(
int
rating
)
{
this
.
rating
=
rating
;
}
public
int
getUserId
()
{
return
user_id
;
}
public
void
setUserId
(
int
user_id
)
{
this
.
user_id
=
user_id
;
}
public
int
getStallId
()
{
return
stall_id
;
}
public
void
setStallId
(
int
stall_id
)
{
this
.
stall_id
=
stall_id
;
}
}
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