Last change
on this file was 899b19d, checked in by Danilo <danilo.najkov@…>, 2 years ago |
reviews full feature
|
-
Property mode
set to
100644
|
File size:
396 bytes
|
Line | |
---|
1 | namespace backend.Entities
|
---|
2 | {
|
---|
3 | public class Review
|
---|
4 | {
|
---|
5 | public int Id { get; set; }
|
---|
6 | public string Title { get; set; }
|
---|
7 | public string Description { get; set; }
|
---|
8 | public int Stars { get; set; } // 1-5
|
---|
9 | public DateTime CreatedAt { get; set; }
|
---|
10 | public virtual User User { get; set; }
|
---|
11 | public virtual Restaurant Restaurant { get; set; }
|
---|
12 | }
|
---|
13 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.