using System.ComponentModel.DataAnnotations.Schema; namespace Distribution.Models { public class ExpenseAttachment : Template { public Guid FK_ExpenseId { get; set; } [ForeignKey("FK_ExpenseId")] public Expense? Expense { get; set; } public string OriginalFileName { get; set; } = string.Empty; /// Absolute path on disk. Served through a streaming endpoint, never statically. public string StoredPath { get; set; } = string.Empty; public string ContentType { get; set; } = string.Empty; public long SizeBytes { get; set; } public Guid UploadedByUserId { get; set; } } }