First table in database

This commit is contained in:
2023-10-23 21:29:19 +02:00
parent 00fd8ded6e
commit 1aa4f0b5f6
16 changed files with 491 additions and 21 deletions

View File

@@ -1,8 +1,11 @@
using System.ComponentModel.DataAnnotations;
namespace GerbilManagerWebAPI.Models
{
public record Breeder
{
[Key]
public Guid Id { get; init; }
public string Name { get; init; }
public string? Name { get; init; }
}
}