finalizare 1.0
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user