Initial import
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
namespace MinAttest.Domain.Entities;
|
||||
|
||||
public class Attest
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public Guid PersonId { get; set; }
|
||||
public Person Person { get; set; } = null!;
|
||||
|
||||
public Guid? EmployerId { get; set; }
|
||||
public Employer? Employer { get; set; }
|
||||
|
||||
public string Title { get; set; } = string.Empty;
|
||||
public DateOnly From { get; set; }
|
||||
public DateOnly To { get; set; }
|
||||
public string? Summary { get; set; }
|
||||
|
||||
public string BlobPath { get; set; } = string.Empty;
|
||||
public string? BlobHash { get; set; }
|
||||
|
||||
// Temporary in-DB storage (to be replaced by Azure Blob)
|
||||
public byte[]? Content { get; set; }
|
||||
public string? ContentType { get; set; }
|
||||
public long? ContentLength { get; set; }
|
||||
|
||||
public AttestStatus Status { get; set; } = AttestStatus.Unverified;
|
||||
public DateTimeOffset IssuedAt { get; set; } = DateTimeOffset.UtcNow;
|
||||
public string? IssuedBy { get; set; }
|
||||
|
||||
public ICollection<ShareLink> ShareLinks { get; set; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user