Added database models
This commit is contained in:
16
src/Portfolio.Shared/Models/About.cs
Normal file
16
src/Portfolio.Shared/Models/About.cs
Normal 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; }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user