system-praktyk-api/src/InternshipSystem.Core/Entity/Document.cs
maxchil 3d5fa43135 scans (#69)
scans

Co-authored-by: MaxchilKH <m.w.bohdanowicz@gmail.com>
2020-10-25 22:30:05 +01:00

24 lines
699 B
C#

using InternshipSystem.Core.ValueObject;
namespace InternshipSystem.Core
{
public class Document
{
public long Id { get; set; }
public string Description { get; set; }
public DocumentScan Scan { get; set; }
public DocumentType Type { get; set; }
public DocumentState State { get; set; }
public string RejectionReason { get; set; }
}
public class DocumentScan
{
public long DocumentId { get; set; }
public Document Document { get; set; }
public long Size { get; set; }
public string Filename { get; set; }
public string Mime { get; set; }
public byte[] File { get; set; }
}
}