finalizare 1.0

This commit is contained in:
andrei-mihnea-cerbu
2024-05-21 12:10:53 +03:00
parent f7795f7519
commit 1cc1d34003
11268 changed files with 2102399 additions and 10909 deletions
+25
View File
@@ -0,0 +1,25 @@
using System.ComponentModel.DataAnnotations;
namespace Domain.Entities;
public class MedicalHistory
{
[Key] public Guid Id { get; private set; } = Guid.NewGuid();
public Guid UserId { get; private set; } = Guid.Empty;
public byte[] Content { get; private set; } = [];
public void SetId(Guid id)
{
Id = id;
}
public void SetUserId(Guid userId)
{
UserId = userId;
}
public void SetContent(byte[] content)
{
Content = content;
}
}