Added database models

This commit is contained in:
2025-01-20 17:43:05 +01:00
parent 00504ad485
commit 49b5339bb3
11 changed files with 242 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
using System.ComponentModel.DataAnnotations;
namespace Portfolio.Shared.Models;
public class About {
[Key]
public int Id { get; private set; } = 0;
[MaxLength(5000)]
public required string AboutMe { get; set; }
[MaxLength(5000)]
public required string Future { get; set; }
}