Skip to content
Snippets Groups Projects
Commit aa9e2bc0 authored by Matej Vavrek's avatar Matej Vavrek
Browse files

Added ReviewAggregateModel

parent 823b6ba1
No related branches found
No related tags found
2 merge requests!21Milestone-1,!12Created retrieve operations for the aggregate, created a seeding script that...
using System.ComponentModel.DataAnnotations;
namespace DAL.Models
{
public class ReviewAggregate
{
[Key]
public Guid RestaurantId { get; set; }
// Add Restaurant property?
[Required]
[Range(1, 10)]
public uint FoodRating { get; set; }
[Required]
[Range(1, 10)]
public uint ServiceRating { get; set; }
[Required]
[Range(1, 10)]
public uint EnvironmentRating { get; set; }
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment