restructuring filetree

This commit is contained in:
Chris
2026-04-07 20:27:02 +02:00
parent e043655469
commit a5027b6361
106 changed files with 78271 additions and 0 deletions

21
Ass5/Models/Review.cs Normal file
View File

@@ -0,0 +1,21 @@
using System.ComponentModel.DataAnnotations;
namespace Example.Models
{
public class Review
{
Review() {}
public int Id { get; set; }
[Range(1, 5)]
public int Stars { get; set; }
[StringLength(1000)]
public string Text { get; set; } = string.Empty;
public int AuthorId { get; set; }
public Author? Author { get; set; }
}
}