restructured filetree

This commit is contained in:
Christopher Sanden
2026-03-27 14:11:04 +01:00
committed by Chris
parent dcbed24638
commit b837e1aad2
369 changed files with 0 additions and 11216 deletions

21
Models/Book.cs Normal file
View File

@@ -0,0 +1,21 @@
using System.ComponentModel.DataAnnotations;
namespace Example.Models
{
public class Book
{
public Book() {}
public int Id { get; set; }
[Required]
[StringLength(200)]
public string Title { get; set; } = string.Empty;
[StringLength(1000)]
public string Summary { get; set; } = string.Empty;
[DataType(DataType.Date)]
public DateTime Published { get; set; }
}
}