Files
PowderCoatingLogix/src/PowderCoating.Core/Entities/QuotePhoto.cs
T
2026-04-23 21:38:24 -04:00

19 lines
741 B
C#

namespace PowderCoating.Core.Entities;
public class QuotePhoto : BaseEntity
{
public int? QuoteId { get; set; } // null while in temp/pending state
public string TempId { get; set; } = string.Empty; // GUID key used before quote is saved
public string FilePath { get; set; } = string.Empty;
public string FileName { get; set; } = string.Empty;
public long FileSize { get; set; }
public string ContentType { get; set; } = string.Empty;
public string? Caption { get; set; }
public bool IsAiAnalysisPhoto { get; set; } = true;
public string? UploadedById { get; set; }
// Relationships
public virtual Quote? Quote { get; set; }
public virtual ApplicationUser? UploadedBy { get; set; }
}